bug with wp2’s .htaccess?: subfolders with htaccess/htpassword are unviewable
-
I have a subfolder on my server, named “what”, which is passworded using .htaccess/.htpasswd. If I attempt to view this folder, I am instead forwarded to my WordPress (2.0) installation, rather than being presented with a login box as expected.
See what I mean: https://beoba.net/what
If I remove WP’s .htaccess, the folder is viewable, but WP permalinks become broken. What can I do to WP’s .htaccess to make this folder act correctly, but still keep the permalinks? It is currently set to the WP defaults:
–START WP’S .HTACCESS–
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule># END WordPress
–END WP’S .HTACCESS–I tried adding “RewriteCond %{REQUEST_URL} !^what” as well as “RewriteCond %{REQUEST_URL} !^/what” to the above file, but neither of them did anything whatsoever.
- The topic ‘bug with wp2’s .htaccess?: subfolders with htaccess/htpassword are unviewable’ is closed to new replies.