tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hanzo" <>
Subject Re: mod_webapp config
Date Tue, 04 Dec 2001 04:38:14 GMT

----- Original Message ----- 
From: "William Tansill" <>
To: "Tomcat Users List" <>
Sent: Monday, December 03, 2001 1:15 AM
Subject: RE: mod_webapp config

> My guess is that if you want to create and run your own JSP's, you will need
> to install them per the standard deployment mechanism, update server.xml to
> reflect the new deployment context, and then restart Tomcat.  At least those
> are the steps I'm planning on taking when I get an example up and running.
> If you get your stuff working first, write back to the group and let me know
> how you did it.  Thanks!

I give up using mod_webapp.. mod_rewrite is -a lot easier-

    ServerAlias my
    ServerName my.domain

    RewriteEngine on
    RewriteLog "logs/my-rewrite.log"
    RewriteLogLevel 1

    RewriteCond %{SERVER_PORT} ^80$
    RewriteRule ^/(.*) http://my.domain:8080/$1 [L,R]

    DocumentRoot C:/Program Files/Apache Tomcat 4.0/webapps/test
    DirectoryIndex index.html index.php index.jsp

    ErrorLog logs/my-error.log
    CustomLog logs/my-access.log common

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message