httpd.conf ISAPI Rewrite settings for Drupal 5.x

I'm having trouble accessing /admin/build/themes/settings/garland_school. I get a 404 error, but I know that it has to do with URL rewriting because if I turn it off in Drupal, I can access this page fine.

My httpd.conf looks like:

# Accept a url with the following directories and pass them through unchanged.
RewriteRule /(?:misc|files|themes|sites|modules/system|uploads)/(.*) $0 [I,L,QSA]

I tried adding build/themes, themes/settings, admin/build/themes, and many other combinations, but I still get 404s.

Any suggestions?

Average rating
(1 vote)
Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

First question is what version of ISAPI Rewrite are you using. If you're using 2.x, then have a look at this guide. If you are using 3.x then look at this guide.