I'm trying to use the JkAutoAlias directive as documented at:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html#mod_
jk%20Directives

Here's is my snippet from httpd.conf:

<VirtualHost *>
ServerName customer1.mycompany.com
JkAutoAlias /usr/local/customers/tomcat1/webapps
JkMount /*/do/ tomcat1
JkMount /*.do tomcat1
JkMount /*.jsp tomcat1
Alias /repository /repository/customers/customer1
Alias /assets /repository/customers/customer1/assets
Alias /styles /repository/customers/customer1/styles
Alias /library /repository/customers/customer1/library
Alias /import /repository/customers/customer1/import
Alias /export /repository/customers/customer1/export
</VirtualHost>

But I'm getting the following error:

Syntax error on line 1087 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'JkAutoAlias', perhaps mis-spelled or defined by a
module not included in the server configuration

Is this directive not allowed in a VirtualHost?

Thanks,

Matt



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to