Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Greetings

Here is my situation. I currently have one website on my dedicated server. As of now, I have protected the directory /exclusive using the Plesk control panel. I am having a billing company install their password management script on the server but they need the absolute location to the .htpasswd file. I can't find it or the .htaccess file. Would it be easier to unprotect the /exclusive directory and create the .htaccess file in notepad? If this is done, where should I place the .htpasswd file?

-jw

share|improve this question
add comment

2 Answers

Plesk stores their version of the htpasswd files in:

/var/www/vhosts/[DOMAIN]/pd

It appears to look and act like a normal htpasswd file. The config that declares which htpasswd file to use would be under:

/var/www/vhosts/[DOMAIN]/conf/httpd.include
share|improve this answer
add comment

Plesk likes to put HTML files in /var/www/vhosts/[HOSTNAME]/httpdocs (or /var/www/vhosts/[HOSTNAME]/httpsdocs for sites with SSL). Look under there for the existing .htaccess and .htpasswd files.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.