tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis P. Chauvel H." <>
Subject remove my mail please
Date Thu, 15 Apr 2004 02:54:39 GMT
They would be so kind of unsubscribe of the list of interest, sends to the
webmaster for  removes my mail
Thank you

-----Mensaje original-----
De: Robert Hall [] 
Enviado el: MiƩrcoles, 14 de Abril de 2004 07:15 p.m.
Para: Tomcat Users List
Asunto: Re: Virtual Hosting Revisited - Apache serving static pages..???

We use apache to serve up static content by including the following in 
httpd.conf via an "Include directive":

<IfModule mod_alias.c>
    # Note that if you include a trailing / on fakename then the server will
    # require it to be present in the URL.  So "/icons" isn't aliased in 
    # example, only "/icons/".  If the fakename is slash-terminated, 
then the
    # realname must also be slash terminated, and if the fakename omits the
    # trailing slash, the realname must also omit it.
    Alias /app-name/ "/usr/local/htdocs/app-name/"

    <Directory "/usr/local/htdocs/app-name">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all

And (similar to mod_jk.conf ?) contains URI entries 
so tell
apache what to request from Tomcat, the static content is served up by 
via the Alias above.


John B. Moore wrote:

> Posted this previously and still need some pointers...
> Maybe this is not possible, but it seems to be "suggested" in a lot of 
> the documentation I have read. Unfortunately those docs "assume" 
> something that I am not privy to..  (a brain.. yeah well...<G>) and do 
> not outline specific configurations for this setup. I read a lot of 
> "and you can have Apache serve the static pages"..etc.. but I have yet 
> to find and example of how this would be configured.
>   I would prefer setting this up via the server.xml and the web.xml 
> files and have those autoconfigure to the /auto/mod_jk.conf file, but 
> for now I need some specifics on how to tell Apache to serve the 
> static pages. (I have no problems with serving the jsp and servlets..)
>  Thanks...

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message