httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hong....@weirwarman.com
Subject Re: [users@httpd] I need a help on virtual host
Date Wed, 04 Dec 2002 00:34:37 GMT


>Uhhh... Who says?  It should almost never be necessary to put the domain
>name in the <VirtualHost>.  Using Tomcat doesn't make any difference.  Can
>you tell me what gave you that idea?
>
>Joshua.

I append "Include c:/tomcat/conf/auto/mod_jk.conf" to the end of
httpd.conf, and as you know "mod_jk.conf" is automatically generated by
Tomcat, the content looks like:
<VirtualHost mydomain.com>
    ServerName mydomain.com

    #################### mydomain.com:/hong ####################

    # Static files
    Alias /hong "C:/Tomcat/webapps/hong"

    <Directory "C:/Tomcat/webapps/hong">
        Options Indexes FollowSymLinks
        DirectoryIndex index.html index.htm index.jsp
    </Directory>
     :::
</VirtualHost>

This configuration works well if I only have one VH, failed to add more VHs in httpd.conf.

Hong



______________________________________________________________________
The information contained in this message is confidential and is intended for the addressee(s)
only.  If you have received this message in error or
there are any problems please notify the originator immediately.  The unauthorized use, disclosure,
copying or alteration of this message is strictly
forbidden. Warman International Ltd will not be liable for direct, special, indirect or consequential
damages arising from alteration of the contents
of this message by a third party or as a result of any virus being passed on.

Internet communications are not secure and therefore Warman International Ltd. does not accept
legal responsibility for the contents of this message.
Any views or opinions presented are solely those of the author and do not necessarily represent
those of Warman International Ltd.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message