[okfn-help] apache config rewrite issue
Jo Walsh
jo at frot.org
Thu Feb 1 18:13:34 GMT 2007
hey all,
So this file:
okfn at knowledgeforge:~/svn-okfn/trunk/etc/apache2/okfn.org.extra
Contains this rewrite:
RewriteCond %{REQUEST_URI} !^/files/.*$
RewriteEngine on
RewriteRule ^(.*)\.html$ $1/ [R]
That's breaking non-moin-generated pages.
I changed it to
RewriteCond %{REQUEST_URI} !^/(files|geo)/.*$
But this is a shit fix, and furthermore didn't go the whole hog and
restart Apache because i was reluctant to break the world by futzing
with this:
okfn at knowledgeforge:~/svn-okfn/trunk/etc/apache2$ /usr/sbin/apache2ctl graceful
Syntax error on line 4 of /etc/apache2/mods-enabled/fastcgi.conf:
FastCgiIpcDir /var/lib/apache2/fastcgi: access for server (uid 1002, gid 1002) failed: write not allowed
I would be happy enough to have a geo.okfn.org and redirect
okfn.org/geo so we dont have to slow apache down with more regexen.
hth, zx
--
More information about the okfn-help
mailing list