unkownname Posted July 28, 2006 Share Posted July 28, 2006 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.*. Quote Link to comment https://forums.phpfreaks.com/topic/15852-help-needed/ Share on other sites More sharing options...
wildteen88 Posted July 28, 2006 Share Posted July 28, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/15852-help-needed/#findComment-65080 Share on other sites More sharing options...
unkownname Posted July 28, 2006 Author Share Posted July 28, 2006 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 Link to comment https://forums.phpfreaks.com/topic/15852-help-needed/#findComment-65244 Share on other sites More sharing options...
youcantoo Posted August 12, 2006 Share Posted August 12, 2006 [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. Quote Link to comment https://forums.phpfreaks.com/topic/15852-help-needed/#findComment-73442 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.