On Tue, 2006-08-15 at 01:13 -0400, Bradford R. Bowman wrote:
> AddHandler cgi-script .cgi
> Options +FollowSymLinks +ExecCGI
>
> RewriteEngine On
> RewriteCond %{REQUEST_FILENAME} -f
> RewriteRule ^(.*)$ /control/hobix.cgi
Eh ... hrm. That RewriteCond means that the rule will only apply to
paths whose corresponding physical files exist. I think what's intended
is the reverse:
RewriteCond %{REQUEST_FILENAME} !-f
Go via hobix.cgi when a physical file DOESN'T exist. And I'm assuming
(pending _why's reply) that mapping /control/comment/category/myEntry
to /control/hobix.cgi/control/comment/category/myEntry is the right
thing here. If not, then I would also make this change:
RewriteRule ^/control/(.*)$ /control/hobix.cgi/$1
Which would map /control/comment/category/myEntry
to /control/hobix.cgi/comment/category/myEntry instead.
Try the different combinations and see if anything works. This is
something I would like to get sorted before 0.5 is released.
-mental
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Hobix-is-the-way mailing list [email protected] http://rubyforge.org/mailman/listinfo/hobix-is-the-way
