You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matt Raible <ma...@raibledesigns.com> on 2002/10/02 14:10:01 UTC

Invalid command 'JkAutoAlias'

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Invalid command 'JkAutoAlias'

Posted by Glenn Nielsen <gl...@mail.more.net>.
JkAutoAlias and JkRequestLogFormat are only implemented in mod_jk 1.2 for Apache 1.3.

Matt Raible wrote:
> 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:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>