• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

password protacted directory

B

bhushan

Guest
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.
 
how i can view all the files or
directories from passwd protacted directory rather than index.html
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
 
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.
 
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.
 
Back
Top