Magnus Lie Hetland <[EMAIL PROTECTED]> wrote:
>
>My apologies if this is an FAQ, but I didn't see it int he docs...
>What is the preferred way of "hiding" the adapter script, e.g.
>WebKit.cgi? I'm using Apache, so I probably have quite a lot of
>options, among them using mod_rewrite...

I'm using it in the way you describe without mod_rewrite, unless some of the 
most basic Apache directives invoke mod_rewrite, which I doubt.

>Basically, I'd like foo.bar/baz to be equivalent to
>foo.bar/cgi-bin/WebKit.cgi/baz without redirects. Similar URLs are
>mentioned in the docs, but I couldn't see any discussion of how to
>achieve this. Perhaps that could be an interesting thing to put in the
>install guide (which, by the way is very good -- installing was a
>piece of cake :)

I put in a ScriptAlias directive which I think looks like this (I don't have my 
laptop with me today):

  ScriptAlias /webkit /home/httpd/cgi-bin/WebKit.cgi

However, this doesn't put WebKit at the URL "root" - instead, everything 
under /webkit uses the WebKit adapter. You could try the following:

  ScriptAlias / /home/httpd/cgi-bin/WebKit.cgi

This is with the default install of Apache on Red Hat 6.1, where /home/httpd 
contains lots of Apache "public" files.

Paul

-- 
Get your firstname@lastname email at http://Nameplanet.com/?su

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

Reply via email to