![]() |
htaccess Allow access rule...
Hi I want to allow my IP 127.0.0.1 access to index.php and all other viewer forced to index.html. How would I write this htaccess rule
|
Options +FollowSymlinks
RewriteEngine on RewriteCond %{REMOTE_HOST} !^127\.0\.0\.1 RewriteCond %{REQUEST_URI} !/index\.php$ RewriteRule \.php$ /index.php [R=302,L] unless all are automatically already directed to your index.php I don't know how your server is setup |
Quote:
|
All times are GMT -7. The time now is 03:49 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123