mrneilrobinson Posted November 18, 2009 Share Posted November 18, 2009 Hi, how would i enter a simple set of apache rewrite rules for directing all requests to a php script, excluding any requests to existing files. Link to comment https://forums.phpfreaks.com/topic/182016-direct-requests/ Share on other sites More sharing options...
cags Posted November 18, 2009 Share Posted November 18, 2009 Sounds like your looking for something like this... Options +FollowSymLinks RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^.*$ ./index.php Link to comment https://forums.phpfreaks.com/topic/182016-direct-requests/#findComment-960205 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.