Apache2 Directory Listing Doesn’t List Password Protected Folders

If you’ve ever used Apache2 and .htaccess with the “Options Indexes” value to show the content listing of a directory. You would know that unfortunately Apache2 doesn’t show folders that are forbidden or password protected.

If you’ve ever used Apache2 and .htaccess with the “Options Indexes” value to show the content listing of a directory. You would know that unfortunately Apache2 doesn’t show folders that are forbidden or password protected.

What can you do about it? You could try using “IndexOptions ShowForbidden” which states “If specified, Apache will show files normally hidden because the subrequest returned HTTP_UNAUTHORIZED or HTTP_FORBIDDEN" however this won't show Folders that are protected for some reason. So at this point there is no way to show passworded folders.

0 Shares:
You May Also Like

Microsoft changes their mind about allowing virtulization of Vista Home and Premium

No virtualization for home or premium? Is a ploy to take more money back from the consumer to buy the "super-duper-more-expensive" version so that you can do virtualization?
Microsoft ditches about-face on virtualization restrictions at 11th hour -

Microsoft this week was about to relent and allow the (legal) virtualization of Windows Vista Home Premium and Home Basic. Then the company pulled the plug on the announcement, but there are signs that a change is still possible.

Read More...

[Ars Technica]