.htaccess

Problems with the Linux version of XAMPP, questions, comments, and anything related.

.htaccess

Postby jabberwock » 17. February 2007 14:03

any folder that has a .htaccess in it is being hidden to the general public thus making it kind of hard to know the folder name without already being authed to it, I've looked at the httpd.conf and cannot find anything about this, if anyone knows a solution I would be very grateful.
jabberwock
 
Posts: 3
Joined: 03. October 2006 00:05

Postby Wiedmann » 17. February 2007 14:11

any folder that has a .htaccess in it is being hidden to the general public

What did you mean with "hidden"?

(OK, you need user/pass to access such a folder).
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby jabberwock » 18. February 2007 05:20

Hidden as in, here's a list of folders


DirA
DirB
DirC

DirA and b have .htaccess

therefore only DirC would show unless you hit a direct link to auth. ex. http://127.0.0.1/DirA Then it would prompt for username & password.
jabberwock
 
Posts: 3
Joined: 03. October 2006 00:05

Postby Wiedmann » 18. February 2007 12:06

Hidden as in, here's a list of folders

OK, you are talking about the automatic directory listing.

I've looked at the httpd.conf and cannot find anything about this,

You have read the documentation for "mod_autoindex"?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests