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.

-- 
малюк [ [EMAIL PROTECTED] // ICQ: 39027534 ]


Reply via email to