I am trying to add two virtual hosts to apache.
In httpd.conf i uncomment these lines:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_module modules/mod_proxy_connect.so
Include conf/extra/httpd-vhosts.conf
And i add these to httpd-vhosts.conf;
<Directory "C:/dev/cfusion">
Order allow,deny
Allow from all
</Directory>
NameVirtualHost *:80
<virtualhost *:80>
DocumentRoot "C:\dev\cfusion"
ServerName cfusion
ProxyRequests Off
<proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:8080/cfusion/
ProxyPassReverse / http://127.0.0.1:8080/cfusion/
ErrorLog "logs/cfusion.local-error.log"
CustomLog "logs/cfusion.local-access.log" common
</VirtualHost>
<virtualhost *:80>
DocumentRoot "C:\dev\cfusion"
ServerName railo
ProxyRequests Off
<proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:8080/railo/
ProxyPassReverse / http://127.0.0.1:8080/railo/
ErrorLog "logs/railo.local-error.log"
CustomLog "logs/railo.local-access.log" common
</VirtualHost>
When i comment the Include, i see the default apache site, otherwise i get an 500 internal server error. Whats the problem?
When i un-comment
ProxyPass / http://127.0.0.1:8080/railo/
then i dont get the 500 error anymore, but the proxying does not work :(