1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

password protacted directory

Discussion in 'Plesk for Linux - 8.x and Older' started by bhushan, Sep 20, 2005.

  1. bhushan

    bhushan Guest

    0
     
    hello !

    i m having a domain called abc.com

    in that i had created password protacted directory user.
    so please let me know that how i can view all the files or
    directories from passwd protacted directory rather than
    index.html.

    if i rename that index.html it shows server failure error.

    let me know how to overcome to this problem


    bhushan.
     
  2. jamesyeeoc

    jamesyeeoc Guest

    0
     
    You need to specify the "Options Indexes" in a vhost.conf or vhost_ssl.conf file for the domain. (/home/httpd/vhosts/abc.com/conf/vhost.conf
    or
    /home/httpd/vhosts/abc.com/conf/vhost_ssl.conf)

    <Directory /home/httpd/vhosts/abc.com>
    Options Indexes FollowSymLinks
    </Directory>

    Indexes
    If a URL which maps to a directory is requested, and there is no DirectoryIndex (e.g., index.html) in that directory, then mod_autoindex will return a formatted listing of the directory.

    FollowSymLinks
    The server will follow symbolic links in this directory.

    If you do not use symbolic links, then you do not need to specify "FollowSymLinks"

    Further info is at Apache docs:
    http://httpd.apache.org/docs/2.0/mod/core.html#options

    After making changes, you need to run the Plesk utility:

    /usr/local/psa/admin/bin/websrvmng -u --vhost-name=abc.com
     
  3. bhushan

    bhushan Guest

    0
     
    conf

    hello

    in the plesk control panel,
    in my domain abc.com , there is a option called file manager.
    in that it shows a conf file but whenever trying to open, it gives permission denied, though
    i m having adminnstrative rights.

    please let me know how to open that directory to solve
    my problem.
     
  4. jamesyeeoc

    jamesyeeoc Guest

    0
     
    You cannot edit the conf directory contents from the control panel, you need to use SSH to connect and login as root, and edit the files that way.
     
Loading...