Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache2 Directory Autoindex and .htacccess

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  DNS  
Author Message
marc7

External


Since: Aug 14, 2004
Posts: 3



(Msg. 1) Posted: Sat Oct 09, 2004 10:07 pm
Post subject: Apache2 Directory Autoindex and .htacccess
Archived from groups: alt>apache>configuration (more info?)

Hello,

I use a linux system with apache 2.

I have two directories in my /public_html called "test" and "new".
In the "test" directory, i have a .htaccess file with the following lines:

AuthType Basic
AuthUserFile /home/finnh/public_html/.htpasswd
AuthName "Secure Area"
require valid-user

In the /public_html diretory I have no index.html. I enabled "Option
+Indexes" for this directory. Now I get an autoindex from the apache2
server for the /public_html directory.

The Problem is, the autoindex from /public_html shows only the "new"
directory, not the "test" directory. I donÂīt know why ?
When I delete the .htaccess file in the "test" folder, then the autoindex
shows both folders.

I want to have the .htaccess file in "test" folder and I want to see both
folders in the /public_html autoindex,too. How ??

Thanks

Marc

 >> Stay informed about: Apache2 Directory Autoindex and .htacccess 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Sat Oct 09, 2004 10:07 pm
Post subject: Re: Apache2 Directory Autoindex and .htacccess [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-10-09, Marc Wapelhorst <marc DeleteThis @wapelhorst.net> wrote:
 > The Problem is, the autoindex from /public_html shows only the "new"
 > directory, not the "test" directory. I donīt know why ?

Since one of the dir is 'protected', is not shown by the autoindex
module. If you search a little you'll see this kind of question popping
out in this group over and over.

Davide

--
Hit any (l)user to continue...<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache2 Directory Autoindex and .htacccess 
Back to top
Login to vote
marc7

External


Since: Aug 14, 2004
Posts: 3



(Msg. 3) Posted: Sat Oct 09, 2004 10:22 pm
Post subject: Re: Apache2 Directory Autoindex and .htacccess [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > Since one of the dir is 'protected', is not shown by the autoindex
 > module. If you search a little you'll see this kind of question popping
 > out in this group over and over.

I found some questions like my problem, but no solution.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache2 Directory Autoindex and .htacccess 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 4) Posted: Sat Oct 09, 2004 10:22 pm
Post subject: Re: Apache2 Directory Autoindex and .htacccess [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-10-09, Marc Wapelhorst <marc DeleteThis @wapelhorst.net> wrote:
 > I found some questions like my problem, but no solution.

Because there is no solution. Not tampering with Apache's
configuration files. Or you revert to a different authentication
scheme done with scripting (perl, php.. whatever).

Davide

--
If it's too good to be true, it's probably a rigged demo.
Any sufficiently advanced technology is indistinguishable from a rigged
demo.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache2 Directory Autoindex and .htacccess 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
autoindex - footer - how can i use as footer a PHP file ? for example: <?php $filename = './cover.jpg'; if (file_exists($filename)) { echo "&lt;img src=\"cover.jpg\" border=0 height=250 width=250&gt;"; } ?> I make change in...

Autoindex (sort by type) (newbie) - How do I make Apache 2.0 (Win32) sort a my indexes by "Type"? Currently Apache AutoIndexes by name... how do I make it sort by "type", so that the folders are placed at the top of the autoindexes? I Apache 2.0 can't do this.. where ...

apache2 - no access - Directory index forbidden by rule: /.. - hello ng, install apache2 on suse 9.0 prof, but canīt access on client für directories. i create directory under srv/www/htdocs called test and some subdirectories. but i can see only index.html on this directory, no link into subdirectories. why? - ...

apache2 & php - I was moving my server from redhat to suse and now some problems occured ;) I have 2 virtual hosts www.1host.com and www.2host.com. Their frontpages and static html pages are displayed correctly. But php pages arent displayed at all, I press the links..

Apache2 & SSL - I am having some trouble getting SSL setup on my apache test server. I have been working on it for the better part of 2 days, but have come to a point where I need some help. I have done a fresh install of apache and have tried to add the mod-ssl..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]