
26th March 2009, 22:30
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
|
|
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  I cannot see anything in the apache2.conf file causing a problem, I am at a loss, please help  Running ispconfig3 on lenny.
|

26th March 2009, 22:34
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,897
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
If you get an error, then take a look at the error log of the website if you want to know the reason.
|

26th March 2009, 22:50
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
|
|
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
|

26th March 2009, 22:53
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,897
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
Which is the exact ispconfig version?
|

26th March 2009, 23:00
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
|
|
3.0.1, upgraded from 3.0.0.9
|

26th March 2009, 23:02
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,897
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
Entferne mal die .htaccess Datei, geht es dann?
|

26th March 2009, 23:21
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Same error if I remove the .htaccess
|

27th March 2009, 10:09
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
|
|
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?
|

27th March 2009, 13:59
|
|
Junior Member
|
|
Join Date: Mar 2009
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
|
|
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?
|

27th March 2009, 14:02
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,897
Thanks: 693
Thanked 4,190 Times in 3,208 Posts
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 14:28.
|
Recent comments
8 hours 40 min ago
15 hours 21 min ago
19 hours 12 min ago
20 hours 50 min ago
1 day 5 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 19 hours ago
1 day 23 hours ago
1 day 23 hours ago