On Fri, 2004-09-17 at 01:49, maluke wrote:
> you might just add
> 
> <Location /_>
> WKServer localhost 8086
> SetHandler webkit-handler
> </Location>
> RewriteEngine On
> RewriteRule $^      /_/   [L,NS]

> and it works.
> 
> another cool thing to do is:
> 
> RewriteCond %{REQUEST_FILENAME}     !-d
> RewriteCond %{REQUEST_FILENAME}     -F
> RewriteRule ^(.*)                   - [L]
> 
> this tells apache that if a file found by that path - serve it directly, if not
> - webkit handles request.
> 
> this nicely enables you to have files like css and favicon in the root of the
> site, yet in a different directory than code - hassle free. another possible
> use is to generate static cached pages for paths that give the most load on
> your appserver.
> 
> make sure to have
> 
> Options -Indexes
> 
> for the root folder or it will give listing instead of letting webkit respond.

Very cool.  It doesn't look like these tricks are documented in the wiki,
but they certainly should be -- probably on this page:

    http://wiki.w4py.org/modrewriterecipes.html

It would be super if you could add them there.

--
Jason D. Hildebrand
T: 204 775 1212
E: [EMAIL PROTECTED]



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to