Urgent.News

What's breaking now, across thousands of outlets.

Tech

Is it possible to run ASP on linux with Apache? Yes, with AxonASP

Yes. And you don't need a Windows Server to do it. If you maintain legacy Classic ASP systems, you know the infrastructure friction. You have modern applications running on Linux with Apache or Nginx, but that one legacy ASP system forces you to maintain a separate Windows/IIS environment. AxonASP solves this natively. It is an open-source cross-platform server (created by Lucas Guimarães in…

Running Classic ASP on Linux with Apache is indeed possible, thanks to a solution called AxonASP. This open-source cross-platform server was created by Lucas Guimarães in Brazil and supported by over 10 active contributors from around the world. It allows developers to process Classic ASP code directly on Linux servers, eliminating the need for a separate Windows/IIS environment.

AxonASP operates as an open-source FastCGI Process Manager (FPM) that can be configured behind Apache. By doing so, you can run legacy ASP code alongside modern applications on the same server. This architecture offers several advantages. It enables shared hosting environments like cPanel to securely support ASP by isolating each application into its own FastCGI pool running under specific Linux UIDs and GIDs.

To deploy AxonASP FPM with Apache on a Debian/Ubuntu system, follow these steps:

1. Install AxonASP by downloading the Debian package from the release repository and installing it using dpkg.

2. Configure the FPM pool by creating a configuration file for your application in the appropriate directory. This file specifies details such as the site name, user and group IDs, socket location, configuration file path, application path, memory limit, maximum restarts, and temporary directory.

3. Enable and start the FPM service using systemctl commands.

4. Configure Apache FastCGI by ensuring the proxy and proxy_fcgi modules are enabled, restarting Apache, and modifying your Apache VirtualHost configuration to route .asp requests to the AxonASP FPM socket.

By adopting this solution, you can consolidate your infrastructure, improve process isolation, and control resources more effectively. This allows you to run legacy ASP systems alongside modern applications on the same Linux server, providing a more efficient and secure environment for your applications.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

This story

This is one outlet's version. Read the fullest account.

Read the original at dev.to →

More in Tech

More from Saturday 29 August →