You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2012/09/13 11:49:05 UTC

[Httpd Wiki] Update of "RunningMultipleApacheInstances" by RainerDuffner

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "RunningMultipleApacheInstances" page has been changed by RainerDuffner:
http://wiki.apache.org/httpd/RunningMultipleApacheInstances?action=diff&rev1=6&rev2=7

Comment:
the variables given for the FreeBSD rc.conf file were slightly wrong. See the actual FreeBSD apache-port startup-script. Also added a note about  "ProxyPreserveHost"

    [... additional directives here ... ]
   </VirtualHost>
   # you get the idea ...
+  # you might need to use the "ProxyPreserveHost On" directive, depending on your configuration
   }}}
  
  So we're finished with the configuration, and now we need to launch all the apache instances, and test that everything is working as expected. Of course you can do this using 'apachectl', e.g.
@@ -146, +147 @@

  apache22_profiles="proxy perl python php"
  
  # the apache proxy instance
- apache22_configfile="/usr/local/etc/apache22/httpd-proxy.conf"
+ apache22_proxy_configfile="/usr/local/etc/apache22/httpd-proxy.conf"
  apache22_proxy_enable="YES"
  
  # the apache perl instance
- apache22_configfile="/usr/local/etc/apache22/httpd-perl.conf"
+ apache22_perl_configfile="/usr/local/etc/apache22/httpd-perl.conf"
  apache22_perl_enable="YES"
  
  # the apache python instance
- apache22_configfile="/usr/local/etc/apache22/httpd-python.conf"
+ apache22_python_configfile="/usr/local/etc/apache22/httpd-python.conf"
  apache22_python_enable="YES"
  
  # the apache php instance
- apache22_configfile="/usr/local/etc/apache22/httpd-php.conf"
+ apache22_php_configfile="/usr/local/etc/apache22/httpd-php.conf"
  apache22_php_enable="YES"
  }}}
  
@@ -166, +167 @@

  
   {{{
   # the apache php instance
-  apache22_configfile="/usr/local/etc/apache22/httpd-php.conf"
+  apache22_php_configfile="/usr/local/etc/apache22/httpd-php.conf"
   apache22_php_enable="NO"
   }}}
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org