Enable Indexes in a particular directory

Discussion in 'Installation/Configuration' started by Crank Ninja, Dec 20, 2005.

  1. Crank Ninja

    Crank Ninja New Member

    Hi all,

    I've searched for how to enable index in and directory in my server managed by ISPConfig.

    Means that I have an www.example.com website, and now I've create
    Code:
     /users/home/www/web${n}/web/prv
    
    and add some files inside. I want to show this directory with indexes.

    I've tried to modify /etc/apache2/apache2.conf
    from
    Code:
     ....
    <directory /users/home/www/*/web>
        Options +Includes -Indexes
        AllowOverride None
        AllowOverride Indexes AuthConfig Limit FileInfo
     ....
    
    Code:
     ....
    <directory /users/home/www/*/web>
        Options +Includes [COLOR="Red"]+Indexes[/COLOR]
        AllowOverride None
        AllowOverride Indexes AuthConfig Limit FileInfo
     ....
    
    and then restart apache2. But I've got an "403 error" when I tried "www.example.org/prv"

    I've also tried to add to .htaccess in my web/prv

    Code:
    #web/prv
    Options Indexes # I've tried also [COLOR="Red"]Options +Indexes[/COLOR]
    
    But I got an "500 Internal Server Error".

    Seems ISPConfig added some directives in my apache2 config :-(

    Any suggestion ?

    ISPConfig is so cool, but must have time to famillar with the ways it works.

    I've searched in this forum for active anonymous ftp access, but as I known, should have private IP for each domain, which is out of my possiblity :-(. Any solution without having private IP ?


    Thank you very much.
     
  2. Crank Ninja

    Crank Ninja New Member

    Seems you are so busy to reponse :-(
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    This is a free support forum. If you need support with defined response time you should consider buying commercial support for ISPConfig.

    To your original post:

    Your settings seem to be correct. I guess they are overridden by other settings that are not from ISPConfig. You shall have a look in all config files that where included in your httpd.conf.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    You could try to put

    Code:
    <Location /users/home/www/web${n}/web/prv>
      Options +Includes +Indexes
    </Location>
    into the Apache directives field in ISPConfig for that web site.
     

Share This Page