.htaccess and .htpasswd files in symbolic link directories.

Discussion in 'Installation/Configuration' started by tarndt, Jul 23, 2006.

  1. tarndt

    tarndt New Member

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

    So in
    /home/www/web8
    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?
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. tarndt

    tarndt New Member

    Ya, I had it set up in httpd.conf before installing ISPConfig. It seems as though after installin ISPConfig however, these directives are being ignored. Any other suggestions?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The WebFTP uses also authentication with .htpassword files to protect directories, so this feature is enabled for the websites in ISPConfig.

    Please check your .htaccess and .htpasswd file if the directives are correct.
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Also have a look at Apache's error log.
     

Share This Page