[wp-trac] [WordPress Trac] #3796: Using permalinks can prevent
access to password protected folders.
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 15 13:52:04 GMT 2007
#3796: Using permalinks can prevent access to password protected folders.
----------------------------+-----------------------------------------------
Reporter: Bassetts | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.3
Component: Administration | Version: 2.1
Severity: major | Keywords: htaccess password proteced permalinks
----------------------------+-----------------------------------------------
When permalinks are enabled from the admin interface it prevents access to
a password protected folder within the root directory and supplies a 404.
I have found that a way to fix this would be to add the following lines
before the wordpress part of the .htaccess:
ErrorDocument 401 /secure/[[BR]]ErrorDocument 403 /secure/
Changing /secure/ to the name of the folder that access is required for.
This could be implemented into the admin interface in the style of a few
text boxes where folder names can be inserted and the interface generates
the lines necessary to allow access to the folder.
--
Ticket URL: <http://trac.wordpress.org/ticket/3796>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list