- #
- # DocumentRoot: The directory out of which you will serve your
- # documents. By default, all requests are taken from this directory, but
- # symbolic links and aliases may be used to point to other locations.
- #
- DocumentRoot "/var/www/ndawn/htdocs"
-
- #
- # This should be changed to whatever you set DocumentRoot to.
- #
- <Directory "/var/www/ndawn/htdocs">
-
- #
- # Possible values for the Options directive are "None", "All",
- # or any combination of:
- # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
- #
- # Note that "MultiViews" must be named *explicitly* --- "Options All"
- # doesn't give it to you.
- #
- # The Options directive is both complicated and important. Please see
- # http://httpd.apache.org/docs-2.0/mod/core.html#options
- # for more information.
- #
- Options Indexes FollowSymLinks
-
- #
- # AllowOverride controls what directives may be placed in .htaccess files.
- # It can be "All", "None", or any combination of the keywords:
- # Options FileInfo AuthConfig Limit
- #
- AllowOverride None
- </Directory>
- <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
-
- 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
- Require valid-user
-
- </Location>
-
-
- # Disallow browsing of Subversion working copy administrative dirs.
- <locationmatch "/.svn/>
- Order allow,deny
- Deny from all
- </locationmatch>
- <Location .*/\.svn/.*>
- Order allow,deny
- Deny from all
- </Location>
-
- PerlSwitches -T -I/var/www/ndawn/code/
- PerlRequire /var/www/ndawn/code/startup.pl
- <Location ~ "^/\w*(.*\.(pl|php|pm))?$">
- SetHandler perl-script
- PerlResponseHandler ND
- </Location>