HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Website directory listing (http://www.howtoforge.com/forums/showthread.php?t=32919)

Sydney 26th March 2009 22:30

Website directory listing
 
Hi having problems getting a directory list, all I get is is 403 or 500, have tried Options Indexes in .htaccess file, and also in the mysite.com.vhost file, also http://mysite.com/stats give an error 500 after entering a valid l:p I cannot see anything in the apache2.conf file causing a problem, I am at a loss, please help :( Running ispconfig3 on lenny.

till 26th March 2009 22:34

If you get an error, then take a look at the error log of the website if you want to know the reason.

Sydney 26th March 2009 22:50

Yes I did I forgot to post that, I dont understand why it says:

[Thu Mar 26 21:34:28 2009] [error] [client xx.xxx.xxx.x] client denied by server configuration: /var/www/mysite.com/web/uploads/index.php

till 26th March 2009 22:53

Which is the exact ispconfig version?

Sydney 26th March 2009 23:00

3.0.1, upgraded from 3.0.0.9

till 26th March 2009 23:02

Entferne mal die .htaccess Datei, geht es dann?

Sydney 26th March 2009 23:21

Same error if I remove the .htaccess :(

Sydney 27th March 2009 10:09

Well I just dont know, one thing to note is that I can list the directory of the main website at /var/www if I remove the index.html, which I will probably want to turn off incidentally...

Is it just me having this problem?

Sydney 27th March 2009 13:59

I got it to work, it didn't help me not restart apache after changing the conf files (what a noob!)

I removed these lines from the vhost file:

<Files ~ '.php[s3-6]{0,1}$'>
Order allow,deny
Deny from all
Allow from none
</Files>

and set allowoverride all (didn't work with allowoverride indexes?)

I don't think I should, or should need to remove those lines tho, any comment?

till 27th March 2009 14:02

These lines are there because you disabled PHP for the website. If you want to use PHP in a website you will have to enable it of course in the site settings and then these lines will be removed automatically.


All times are GMT +2. The time now is 12:17.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.