Hi,
we have tomcat5.0 and apache1.3. my aim is instead of
http://localhost:8085/DOMAIN, how can i call http://partha16/DOMAIN. for
that i have mdified server.xml and httpd.conf file. but it says page not
found.
i have attached the httpd.conf file.
first i tried with virtual host , but it has not worked. so i commented the
virtualhost tag.
Can some one help me in this configuration peoble?
======
In apache: httpd.conf, i have following line:
httpd.conf
<Directory "D:/software/Tomcat 5.0/DOMAIN/DOMAIN">
     Order allow,deny
     Allow from all   
</Directory>
DocumentRoot "D:/software/Tomcat 5.0/DOMAIN/DOMAIN"
Alias /partha16 "D:/software/Tomcat 5.0/DOMAIN/DOMAIN/"
<Location "/partha16">
        Order allow,deny
        Allow from all
#       DirectoryIndex portal.htm        
</Location>
==========
following lines has been added in server.xml
server.xml

<Host name="partha16" debug="1" appBase="DOMAIN"
       unpackWARs="true" autoDeploy="true">

     <Logger className="org.apache.catalina.logger.FileLogger"
             directory="logs"  prefix="DOMAIN_com." suffix=".log"
             timestamp="true"/>

     <Context path="" docBase="DOMAIN" debug="0" reloadable="true">

     <Logger className="org.apache.catalina.logger.FileLogger"
             prefix="DOMAIN." suffix=".log" timestamp="true" />

     <Resource name="mail/Session" auth="Container"
               type="javax.mail.Session"/>
         <ResourceParams name="mail/Session">
             <parameter>
                 <name>mail.smtp.host</name>
                 <value>localhost</value>
             </parameter>
         </ResourceParams>

     </Context>
</Host>
http://www.nabble.com/file/p25769060/httpd.conf httpd.conf 
-- 
View this message in context: 
http://www.nabble.com/alias-problem-in-tomcat5.0-%2B-apache1.3-tp25769060p25769060.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to