NameVirtualHost 10.0.0.50 ServerName brian.lnstar.com use lib qw# /home/httpd/htdocs/libs #; PerlModule Apache PerlModule Apache::Registry PerlModule Apache::AuthCookie PerlModule TestCookie::AuthCookieHandler PerlSetVar TestCookiePath / PerlSetVar TestCookieLoginScript /login.pl PerlSetVar TestCookieExpires +2h PerlSetVar AuthCookieDebug 3 # SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI allow from all PerlSendHeader On # # These documents require user to be logged in. AuthType TestCookie::AuthCookieHandler AuthName TestCookie PerlAuthenHandler TestCookie::AuthCookieHandler->authenticate PerlAuthzHandler TestCookie::AuthCookieHandler->authorize Require user programmer #this is the action of the login.pl script above. AuthType TestCookie::AuthCookieHandler AuthName TestCookie SetHandler perl-script PerlHandler TestCookie::AuthCookieHandler->login AuthType TestCookie::AuthCookieHandler AuthName TestCookie SetHandler perl-script PerlHandler TestCookie::AuthCookieHandler->logout SetHandler perl-script PerlHandler Apache::Status #### $r->content_type("text/html"); $r->status(200); $r->send_http_header; #### #### access to /home/httpd/htdocs/protected/index.html failed for 10.0.0.50, reason: file permissions deny server execution