|
| I can't seem to explain why the .htaccess file that I had setup and
worked at http://www.thelaw.com/dictionary no longer seems to work to
produce SEF URLs for our law dictonary. An example of this not working
is at http://www.thelaw.com/bouvdict/ which seems to spit back a 404
and take the user to the home page (we'll be creating new custom 404s
shortly.) Now it did work at some point when we first installed it.
Suddently it no longer functioned and even clean installs to new
directories didn't seem to work.
Now the home page seems to function. But trying to click on individual
links of letters doesn't seem to work. The file is listed below. I'm
wondering whether another .htaccess file that is placed in my root
directory may be tinkering with this one. It was working fine for a
while and coexisting. Tips would be wonderful if you have them. Thank
you!
## Uncomment to disable annoying 404-pages
#ErrorDocument 404 /
#ErrorDocument 403 /
DirectoryIndex index.php index.html index.htm
## Uncomment to disable charset encoding for Russian Apache
#CharsetDisable On
## mod_rewrite configuration
RewriteEngine on
RewriteRule ^[a-zA-Z]$ /display.php?action=search&by=$0
RewriteRule ^([a-zA-Z])\/$ /$1 [R]
RewriteRule ^([A-Z]+)([a-z)]+)([0-9)]+)\.html$
/display.php?action=search&by=$1&nr_page=$3
RewriteRule ^([^/]+)(.html)$ /display.php?action=show&word=$1
RewriteRule ^admin$ /$0.php
RewriteRule ^(admin)\/$ /$1 [R]
#Options -Indexes IncludesNOEXEC FollowSymLinks
|
|