]> ruin.nu Git - ndwebbie.git/blobdiff - apache-conf.conf
make forum/allUnread work
[ndwebbie.git] / apache-conf.conf
index 3406de13e4fad1a1ba9cec0fa06b625727dea8bc..68a4df7062385b50d8ef9197a1a2855b72890841 100644 (file)
         #
         AllowOverride None
     </Directory>
-    <Location />
+       <Location />
 
        AuthName "NewDawn authentication"
        AuthType basic
 
-       Auth_PG_host localhost
-       Auth_PG_user ndawn
-       Auth_PG_pwd Ni7ueYae
-       Auth_PG_database ndawn
-       Auth_PG_hash_type MD5
+       PerlAuthenHandler ND::Web::AuthHandler
 
-       Auth_PG_pwd_table users
-       Auth_PG_uid_field username
-       Auth_PG_pwd_field password
-
-       Auth_PG_grp_table usersingroup
-       Auth_PG_grp_group_field groupname
-       Auth_PG_grp_user_field username
-
-       #Auth_PG_log_table access_log
-       #Auth_PG_log_uname_field login
-       #Auth_PG_log_date_field date
-       #Auth_PG_log_uri_field request
-       #Auth_PG_log_addrs_field  ip_address
-
-        #
-        # Controls who can get stuff from this server.
-        #
-        Order Deny,Allow
+       Order Deny,Allow
        Require valid-user
 
-    </Location>
+       </Location>
 
 
     # Disallow browsing of Subversion working copy administrative dirs.  
 
        PerlSwitches -T -I/var/www/ndawn/code/
        PerlRequire /var/www/ndawn/code/startup.pl
-       <Location ~ "^/\w*(.*\.(pl|php|pm))?$">
+       <Location ~ "^/[\w\\/]*(.*\.(pl|php|pm))?$">
                SetHandler perl-script
                PerlResponseHandler ND
        </Location>