[thelist] more htaccess problems :(

Jon Hughes jon at phazm.net
Wed Aug 8 23:47:06 CDT 2007


"Options +FollowSymLinks 

RewriteEngine on 

RewriteBase /

 

RewriteCond %{HTTP_HOST} ^phazm.com [NC] 

RewriteRule ^(.*)$ http://www.phazm.com/$1 [L,R=301] 

 

Options -Indexes

DirectoryIndex index.htm index.html Index.htm Index.html index.php

 

RewriteRule ^notes/$ /notes/index.php

RewriteRule ^/notes$ /notes/index.php

RewriteRule ^notes$ /notes/index.php

 

RewriteRule ^([^\.\?]+)(\?.*)?$ $1.php

 

ErrorDocument 404 /404.php"

 

This works for phazm.com/notes/, which pulls /notes/index.php, but when I go
further, such as:

 

http://www.phazm.com/notes/wp-admin/

 

which should pull from /wp-admin/index.php but isn't.

 

I thought with the "directoryindex" it should fix that, but no such luck.

 

Any way I can force "folder/" to pull from "folder/index.php"

 

-          Jon




More information about the thelist mailing list