folder and ssl

Discussion in 'Server Operation' started by unkn0wn, Nov 20, 2006.

  1. unkn0wn

    unkn0wn New Member

    how can i disable SSL for just one folder i have site on SSL but i want folder /var/www/project without SSL.
     
  2. falko

    falko Super Moderator ISPConfig Developer

  3. unkn0wn

    unkn0wn New Member

    Ok i want to secure one folder in /var/www with htaccess so i put:


    <Directory /var/www/admin>
    Satisfy All
    AuthUserFile /var/www/.htpasswd
    AuthGroupFile /dev/null
    AuthName "LOCKED"
    AuthType Basic
    <limit GET POST>
    require valid-user
    </limit>
    </Directory>

    and in apache.conf

    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/admin
    RewriteRule ^/(.*) https://www.domain.net/$1 [R]

    So htaccess working send me REQ user/pass i enter in admin panel
    but when i choose for example CONFIG it show me error
    401 Authorization Required
    ??
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Can you describe the problem in more detail?
     

Share This Page