Hi,

 

I’ve updated apache2 and am going through the process of changing to the new configs. Is there a how-to which describes virtual hosts?

 

This is what I have now, but apache2 won’t start and I get the error below

 

<VirtualHost 192.168.1.40:80>

            ServerName xxx

            DocumentRoot "/opt/tomcat5/webapps/xx"

            <Location "/*.jsp">

                        JkUriSet worker ajp13:localhost:8009

            </Location>

            <Directory /opt/tomcat5/webapps/xx>

              DirectoryIndex index.jsp

            </Directory>

</VirtualHost>

 

 

* Apache2 has detected a syntax error in your configuration files:

Syntax error on line 73 of /etc/apache2/vhosts.d/vhosts.conf:

Invalid command 'JkUriSet', perhaps mis-spelled or defined by a module not included in the server configuration

 

Regards,

 

Rupert Young

 

Reply via email to