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. Quote 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] Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.