CMSMS and problem with ErrorDocument 404 in .htaccess
Posted: Wed Sep 26, 2007 4:25 pm
Hi all,
I need to made some modification in .htaccess file for Error 404:
The above code works, but if I try to combine it with other codes, it does not work:
Thanks
far
I need to made some modification in .htaccess file for Error 404:
Code: Select all
ErrorDocument 404 http://www.domain.tld/Code: Select all
ErrorDocument 404 /index.php?page=home
#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off
# Make sure you have Options FollowSymLinks
# and Allow on
RewriteEngine On
#Rewrites page.shtml as index.php?page
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]far