View Single Post
Old 23rd July 2006, 22:11
tarndt tarndt is offline
Junior Member
Join Date: Jun 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default .htaccess and .htpasswd files in symbolic link directories.

I have a symbolic link in one of my accounts created in ISPConfig:

So in
I have:
web -> /var/www/html/dealer/

Question is...How do I password protect this directory. Because the directory is owned by another user, it does not show in Web_FTP.
So I password protect another folder, and modified the .htaccess file and moved to the /var/www/html/dealer folder. This however returns a 500 Internal Server Error. Ownership of the .htacess and .htpasswd files are associated with the web8 user. I have also tried specifying the .htpasswd as both the symbolic link and the actual directory from within the .htaccess file. Any suggestions?
Reply With Quote
Sponsored Links