louis_coetzee Posted September 7, 2009 Share Posted September 7, 2009 hi, I have .htaccess setup like this: everything is assumed to be index.php, except for public and admin, i want to exclude gallery.swf in rule as well, so that a person can access it. how? RewriteEngine On RewriteRule !(\.gif|\.png|\.jpe?g|\.css|\.js|\.php|\^public/|^admin/.*)$ index.php [nocase,last] thanks for your help. Link to comment https://forums.phpfreaks.com/topic/173447-please-help-with-mod-rewrite-please/ Share on other sites More sharing options...
Rebelrebellious Posted September 11, 2009 Share Posted September 11, 2009 Does this work? RewriteEngine On RewriteRule !(\.swf|\.gif|\.png|\.jpe?g|\.css|\.js|\.php|\^public/|^admin/.*)$ index.php [nocase,last] Link to comment https://forums.phpfreaks.com/topic/173447-please-help-with-mod-rewrite-please/#findComment-916852 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.