This is a discussion on Redirect problem within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi! I read somewhere that this would redirect all request for non-existent pages/directories to mypage.php: Options +FollowSymLinks ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi!
I read somewhere that this would redirect all request for non-existent pages/directories to mypage.php: Options +FollowSymLinks RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule . /mypage.php The problem is it redirect everything, also requests for existing pages and directories. I want to be able to access existing content directly. Please advice! Thank you! markus |
| Thread Tools | |
| Display Modes | |
|
|