Add this to your apache httpd.conf

# ---------------------------------------------------------

RewriteEngine On

# Serve static content with Apache!
#
RewriteRule ^/media/(.*) - [L]
RewriteRule ^/download/(.*) - [L]

# And if you want "webkit" directly under the root
#
RewriteRule ^/webkit($|/.*) - [L]
RewriteRule ^(.*) /webkit$1 [L,PT]


# ---------------------------------------------------------

Now all files placed within the apache document root
/media
/download etc
will be served by apache



At 11.25 -0400 02-10-22, Michael Engelhart wrote:
Running the AppServer with mod_webkit, is the AppServer serving up static content like html, gifs, jpegs, etc?

It seems like it is from the fact that the logs is streaming every gif that gets called on every page.
If it is, how do I tell AppServer that I want Apache to serve the static content?

Thanks for any help

Mike Engelhart

-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to