Hello,

I found my solution for deploying webapps with mod_webapp and serving only 
dynamic content directly with apache.

In my case, I wanted the document root level to be dynamic, so mounting my 
app into a subdirectory didnīt work for me.

So I wrote:

RewriteEngine On
RewriteRule ^/static/(.*)$   /static/$1   [L]
RewriteRule ^/(.+)\.gif$     $1.gif    [L]
WebAppDeploy ROOT warpconn /

and - IT WORKS! Apache with active mod_rewrite seems to omit checking if 
mod_webapp likes to serve the URL unless you specify [PT] in the flags of 
the rewrite rule.

Hope it helps

Bye

-- 
Thorsten Barth

Web Arts AG
eConsulting eStrategy eSuccess
-------------------------------
Max-Planck-Str. 9
61381 Friedrichsdorf
-------------------------------
Tel.: +49.6172.599833
Fax : +49.6172.599830
[EMAIL PROTECTED]
www.web-arts.com


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

Reply via email to