Author: julian Date: 2006-06-02 10:54:55 -0500 (Fri, 02 Jun 2006) New Revision: 15
Modified: thingy-config/httpd.conf Log: thingy-config/httpd.conf * Enabled basic mod_perl support. Modified: thingy-config/httpd.conf =================================================================== --- thingy-config/httpd.conf 2006-05-25 12:49:39 UTC (rev 14) +++ thingy-config/httpd.conf 2006-06-02 15:54:55 UTC (rev 15) @@ -1,16 +1,35 @@ -SetEnv THINGY_INSTANCE spf -SetEnv THINGY_RESTRICTED 1 -SetEnv THINGY_AUTH_URL http://new.openspf.org/auth +PerlOptions +ParseHeaders -SetEnv TZ UTC +#SetEnv THINGY_INSTANCE spf +PerlSetEnv THINGY_INSTANCE spf +#SetEnv THINGY_RESTRICTED 1 +#SetEnv THINGY_AUTH_URL http://new.openspf.org/auth + +#SetEnv TZ UTC +PerlSetEnv TZ UTC + Alias /robots.txt /etc/thingy/instances/spf/static/robots.txt Alias /static /etc/thingy/instances/spf/static Alias /blobs /var/lib/thingy/spf/blobs -ScriptAlias /auth /usr/lib/cgi-bin/thingy -ScriptAlias / /usr/lib/cgi-bin/thingy/ +#ScriptAlias /auth /usr/lib/cgi-bin/thingy +#ScriptAlias / /usr/lib/cgi-bin/thingy/ +Alias /auth /usr/lib/cgi-bin/thingy +Alias / /usr/lib/cgi-bin/thingy/ +<LocationMatch "^/"> + SetHandler perl-script + PerlResponseHandler ModPerl::PerlRun + + PerlSetEnv THINGY_RESTRICTED 1 + PerlSetEnv THINGY_AUTH_URL http://new.openspf.org/auth +</LocationMatch> + +<LocationMatch "^/(robots\.txt|static|blobs|favicon\.ico|access-stats|icons|source|svn|viewcvs)(/|$)"> + SetHandler none +</LocationMatch> + <LocationMatch "^/auth(/|$)"> AuthName "SPF Internals" AuthType Digest @@ -19,12 +38,19 @@ AuthDigestGroupFile /etc/apache2/users/spf.groups Require group webmasters council - SetEnv AUTH_NAME "SPF Internals" - SetEnv AUTH_TYPE Digest - SetEnv AUTH_USERDB_TYPE File - SetEnv AUTH_USERDB_FILE /etc/apache2/users/spf.htdigest + PerlSetEnv AUTH_NAME "SPF Internals" + PerlSetEnv AUTH_TYPE Digest + PerlSetEnv AUTH_USERDB_TYPE File + PerlSetEnv AUTH_USERDB_FILE /etc/apache2/users/spf.htdigest - SetEnv THINGY_RESTRICTED 0 +# SetEnv THINGY_RESTRICTED 0 </LocationMatch> +<LocationMatch "^/auth(?!/(static|blobs)(/|$))"> + SetHandler perl-script + PerlResponseHandler ModPerl::PerlRun + + PerlSetEnv THINGY_RESTRICTED 0 +</LocationMatch> + ErrorDocument 401 /static/unauthorized ------- To unsubscribe, change your address, or temporarily deactivate your subscription, please go to http://v2.listbox.com/member/[EMAIL PROTECTED]
