Link to home
Start Free TrialLog in
Avatar of zoltix
zoltix

asked on

How to do for use a new direcatory wiht Apache TOMCAT 4.0

I create a new directory with some jsp files and index.html.  But i can't arrive configure this path in the web server. how can i?  


I look for a good documentation for this server could you help me.


Thank
Avatar of sumeetsh
sumeetsh

hi
what u could do is add your dir which is in tomcat to its Context by modifying server.xml file .This can be done in following manner

1> Open server.xml
2> There you find entry for Tomcat Examples Context
3> Use that as help for your Context.

it should work

Regards
Sumeet


 

My example is in Windows 2000 environment (should be ok in Unix too.)



    Alias /mrtg/ "C:/WorkData/Mrtg/Stats/"
    <Directory "C:/WorkData/Mrtg/Stats">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
ASKER CERTIFIED SOLUTION
Avatar of samri
samri
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial