Jump to content

Archived

This topic is now archived and is closed to further replies.

unkownname

help needed.

Recommended Posts

Ive installed apache and everything but i got some problems I have it installed  on SUSE/Linux 10.1 Ive been having problems with viewing the file system if their is no index.* in the public_html How can i do it so it can show files in public_hmtl ?? Cuz it says Access Forbiden when their is no index.*.

Share this post


Link to post
Share on other sites
You'll want to add the option 'Indexes' to the Options directive for your sites document root (around line 273) in the httpd.conf. When you add that you'll want to save the httpd.conf and restart Apache.

Share this post


Link to post
Share on other sites
Hey Wild thanks for the help but i solved i have to stop solving my problems dimeans the reason for the post right? its already happen 5 times well thanks anyway And the way is not that its to Take out the <directory></directory> im using suse 10.1 pro for all those who have the same question.

Share this post


Link to post
Share on other sites
[quote author=unkownname link=topic=102124.msg405216#msg405216 date=1154105355]
Hey Wild thanks for the help but i solved i have to stop solving my problems dimeans the reason for the post right? its already happen 5 times well thanks anyway And the way is not that its to Take out the <directory></directory> im using suse 10.1 pro for all those who have the same question.
[/quote]

That is [b]NOT[/b] the correct way to fix your problem To fix it properly you need to a an Option index to your <Directory></Directoy> container  or add an index.html file within your public_html directory.  The reason that you are getting that error in the first place is that one should not be looking at a file listing if there is not index.html file within the directory.  A quick search on google would have given you a solution to your problem.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.