Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htaccess hide the directory in autoindex

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
when i restrict a directory with .htaccess, it also hides the directory from being seen in the parent directory. how to prevent this hidding ?

example :

let's assume there are .htaccess and .htpasswd files in this directory :


the restricted_directory won't be displayed from this URL :


this URL will display a list of files (autoindex), but the restricted_directory won't be displayed. how to correct this ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top