htaccess rewite giving 401 on a static file
-
I have custom permalinks so my .htaccess is WP generated and looks like this…
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress AuthType Basic AuthName "Booking Logs" AuthUserFile "/home/****/.htpasswds/.htpasswd" <FILES "e.php"> require valid-user </FILES>
I have *** out my address!
I have a php script that handles a postback in my root
e.phpAnd Worpdress gives it a 401 error when I tried to go though myself (permissions 644 and 755 both cause a fail…)
What is wrong?
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘htaccess rewite giving 401 on a static file’ is closed to new replies.