DocumentRoot /var/www/html/ht2 Alias /js /var/www/html/js Alias /images /var/www/html/images Alias /ht2 /var/www/html/ht2 PerlModule Apache2::Reload PerlInitHandler Apache2::Reload PerlModule ModPerl::Registry PerlModule WSL::AuthCookie PerlSetVar CCAPAuthPath /ht2 PerlSetVar CCAPAuthLoginScript /login.cgi AddHandler perl-script .cgi #PerlResponseHandler ModPerl::Registry PerlResponseHandler WSL::AuthCookie->login Options ExecCGI FollowSymLinks Indexes Multiviews PerlOptions +GlobalRequest +ParseHeaders Allow from all AuthType WSL::AuthCookie AuthName CCAPAuth PerlAuthenHandler WSL::AuthCookie->authenticate PerlAuthzHandler WSL::AuthCookie->authorize Require valid-user AuthType WSL::AuthCookie AuthName CCAPAuth AddHandler perl-script .cgi PerlOptions +GlobalRequest PerlResponseHandler WSL::AuthCookie->login CustomLog /var/log/apache2/ht2-access.log combined ErrorLog /var/log/apache2/ht2-error.log