teamakesmefart
Technical User
Hi All
Hope somebody can help. I have the following at the end of my httpd.conf file:
-----------------------------------------------------
<VirtualHost ServerName DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
</VirtualHost>
<VirtualHost ServerName ProxyPass / ProxyPassReverse / </VirtualHost>
-------------------------------------------------------
When I try to start the Apache server (Apache 2 running on Win32), I get the error message:
-------------------------------------------------------
[warn] VirtualHost overlaps with VirtualHost the first has precedence, perhaps you need a NameVirtualHost directive
-------------------------------------------------------
Needless to say, the warning bears true and my requests to domain2 are not redirected. So ... I tried to rename the VirtualHost directives to NameVirtualHost directives. Then the error message changed to:
-------------------------------------------------------
Invalid command <'NameVirtualHost', perhaps mis-spelled or defined by a module not included in the server configuration.
-------------------------------------------------------
Any pointers would be gladly received.
Many thanks
Pete
Devon, UK
Hope somebody can help. I have the following at the end of my httpd.conf file:
-----------------------------------------------------
<VirtualHost ServerName DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
</VirtualHost>
<VirtualHost ServerName ProxyPass / ProxyPassReverse / </VirtualHost>
-------------------------------------------------------
When I try to start the Apache server (Apache 2 running on Win32), I get the error message:
-------------------------------------------------------
[warn] VirtualHost overlaps with VirtualHost the first has precedence, perhaps you need a NameVirtualHost directive
-------------------------------------------------------
Needless to say, the warning bears true and my requests to domain2 are not redirected. So ... I tried to rename the VirtualHost directives to NameVirtualHost directives. Then the error message changed to:
-------------------------------------------------------
Invalid command <'NameVirtualHost', perhaps mis-spelled or defined by a module not included in the server configuration.
-------------------------------------------------------
Any pointers would be gladly received.
Many thanks
Pete
Devon, UK