Directory listing for specific vhost

Discussion in 'ISPConfig 3 Priority Support' started by SergiX44, Dec 28, 2015.

  1. SergiX44

    SergiX44 Member

    Hi, i neet to enable the directory listing in a specific domain, so i've put in the apache directive of the site this code:
    Code:
    <Directory "/var/www/dev.brighenti.me/web">
    Options +Indexes
    Order allow,deny
    Allow from all
    </Directory>
    <Directory "/var/www/clients/client0/web10">
    Options +Indexes
    Order allow,deny
    Allow from all
    </Directory>
    
    but it doesn't work and it tell me this:
    [​IMG]
    and this is the content of the vhost:
    [​IMG]

    how can i fix it?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The second path has to be
    /var/www/clients/client0/web10/web
     
  3. SergiX44

    SergiX44 Member

    mmh, still not work, same error
     
  4. SergiX44

    SergiX44 Member

  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Strange. Do you have a .htaccess file in the web directory that disables Indexes and therefor overrides the config?
     
  6. SergiX44

    SergiX44 Member

    no, i have deleted all file in the vhost, except the test folder that i have linked.
    I have also another problem, the htpasswd throw an internal server error(for example when i visit the stats folder generated by ispconfig)
    this is the error.log:
    Code:
    [Mon Dec 28 12:24:04.796223 2015] [authz_core:error] [pid 28304] [client 212.124.181.81:52556] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 12:25:18.154810 2015] [authz_core:error] [pid 28306] [client 212.124.181.81:52642] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 12:32:09.051775 2015] [authz_core:error] [pid 28312] [client 212.124.181.81:52686] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 12:40:58.320602 2015] [authn_file:error] [pid 28427] (2)No such file or directory: [client 212.124.181.81:52764] AH01620: Could not open password file: /var/www/clients/client0/web10/web/stats/.htpasswd_stats
    [Mon Dec 28 13:11:07.435885 2015] [authz_core:error] [pid 29517] [client 212.124.181.81:53025] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 13:11:08.890484 2015] [authz_core:error] [pid 29517] [client 212.124.181.81:53025] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 13:25:44.482109 2015] [authz_core:error] [pid 32642] [client 212.124.181.81:53233] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 13:26:59.480817 2015] [authz_core:error] [pid 1873] [client 212.124.181.81:53238] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 13:27:00.047991 2015] [authz_core:error] [pid 1873] [client 212.124.181.81:53238] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 13:27:00.382789 2015] [authz_core:error] [pid 1873] [client 212.124.181.81:53238] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 13:27:00.750084 2015] [authz_core:error] [pid 1873] [client 212.124.181.81:53238] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 13:27:01.142356 2015] [authz_core:error] [pid 1873] [client 212.124.181.81:53238] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 13:27:01.510036 2015] [authz_core:error] [pid 1873] [client 212.124.181.81:53238] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 13:27:01.885049 2015] [authz_core:error] [pid 1873] [client 212.124.181.81:53238] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 13:27:02.214928 2015] [authz_core:error] [pid 1873] [client 212.124.181.81:53238] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 13:27:02.430036 2015] [authz_core:error] [pid 1873] [client 212.124.181.81:53238] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 13:27:02.614796 2015] [authz_core:error] [pid 1873] [client 212.124.181.81:53238] AH01630: client denied by server configuration: /var/www/dev.brighenti.me/web/index.php
    [Mon Dec 28 14:22:35.990884 2015] [autoindex:error] [pid 8875] (13)Permission denied: [client 212.124.181.81:53788] AH01275: Can't open directory for index: /var/www/dev.brighenti.me/web/
    [Mon Dec 28 14:24:00.656954 2015] [autoindex:error] [pid 8847] (13)Permission denied: [client 212.124.181.81:53793] AH01275: Can't open directory for index: /var/www/dev.brighenti.me/web/
    [Mon Dec 28 14:52:18.313294 2015] [autoindex:error] [pid 9458] (13)Permission denied: [client 212.124.181.81:54003] AH01275: Can't open directory for index: /var/www/dev.brighenti.me/web/
    [Mon Dec 28 15:26:38.782453 2015] [autoindex:error] [pid 8850] (13)Permission denied: [client 212.124.181.81:54140] AH01275: Can't open directory for index: /var/www/dev.brighenti.me/web/
    
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you set a stats password on the statistics tab of the website in ispconfig?
     
  8. SergiX44

    SergiX44 Member

    yes
     
  9. SergiX44

    SergiX44 Member

    Solved, i have deleted and recreated the vhost and now is working, i dont know why :eek:
     

Share This Page