View Single Post
Old 08-10-2011, 08:14 AM   #14 (permalink)
benjamin444
The Visitor
 
Join Date: Aug 2011
Posts: 2
Thanks: 0
benjamin444 is on a distinguished road
Default

installed a new redhat server and am trying to get mod_rewrite working.

Both these lines are uncommended in httpd.conf
LoadModule rewrite_module
AddModule mod_rewrite.c

I have also done
<Directory />
Options All
AllowOverride All
</Directory>

.htaccess file looks like
ErrorDocument 404 [domain.com...]

but when I type in www.domain.com/sdfgkjdf.html it receives a 404 error and is not redirected.

info.php shows mod_rewrite enabled.

______________________
MBA consultants in India
benjamin444 is offline  
Reply With Quote