----- Original Message ----- 
From: "William Tansill" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
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-

<VirtualHost 192.168.0.1>
    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
</VirtualHost>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to