> Hi Jeff,
> sounds like a problem for mod_rewrite.  If you succeed in
> doing it by moving the mod_webkit directives outside the
> Location tag, you end up with the request being sent
> through in SCRIPT_NAME rather than in the PATH_INFO bit
> that WebKit needs:
> <Location />
> >       WKServer localhost 8088
> >       SetHandler webkit-handler
> > </Location>
> > </VirtualHost>
>
> I can't remember the exact syntax from memory but you need
> to enable mod_rewrite, do this:
>
> <Location /WK>
>        WKServer localhost 8088
>        SetHandler webkit-handler
> </Location>
>
> and then do this
>
> RewriteEngine On
> RewriteRule   ^/(.*)  /WK/$1
>
> Tavis
> http://httpd.apache.org/docs/mod/mod_rewrite.html

Hey Tavis, that almost worked, I looked back into the mail archives
and found your post from June 3rd where you offered the solution but
without the <Location /WK> part.  I removed the Location directive and
now the RewriteRule works.  You the man! :)

Oh yeah, the trick is, the WK part should really be the context name
(or make it anything and let the default context be served):
RewriteRule   ^/(.*)  /mycontext/$1

Does that sound right?

Thanks,
Jeff


_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to