Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I run multiple instances of HTTPD with unique configurations?

0
Posted

How do I run multiple instances of HTTPD with unique configurations?

0

The HTTPD proxy supports multiple configuration files. While usually not necessary, you might want to do this to support multiple groups of users who have different filtering requirements. The best way to do this is the following steps: ● Make a new directory for the configuration: e.g. mkdir /etc/apache_staff ● Copy the files from /etc/apache into the new directory ● Edit the httpd.conf file in the new directory. You will need to change ServerRoot and (probably) where the log files are. Also, the Listen directives will need to be adjusted to not conflict with the other configurations. Finally, of course, any changes in filtering or access rules that prompted your desire to create the additional configuration. Please do NOT change the PID file name, so that other tools can still find it in the new directory. To start or stop the new HTTPD configuration, use the ‘portus’ command (in /usr/local/etc): portus start httpd apache_staff portus stop httpd apache_staff (Replacing “apache_staff”

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123