git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@797 97e9348a-65ac-dc4b-aefc-98561f571b83
26 lines
581 B
ApacheConf
26 lines
581 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
RewriteEngine on
|
|
RewriteRule ^$ webroot/ [L]
|
|
RewriteRule (.*) webroot/$1 [L]
|
|
</IfModule>
|
|
|
|
# Lets deny everyone -- its a clean slate!
|
|
order deny,allow
|
|
deny from all
|
|
|
|
# Now allow local access
|
|
# Localhost
|
|
# allow from 127.0.0
|
|
# Local subnet
|
|
# allow from 192.168.7
|
|
|
|
# Provide a mechanism for user authentication
|
|
AuthType Digest
|
|
AuthName "Property Manager"
|
|
AuthUserFile "D:/Website/auth/pmgr.htpasswd"
|
|
Require valid-user
|
|
|
|
# Instead of satisfy all (too restrictive)
|
|
# This allows EITHER local domain OR authenticated user
|
|
satisfy any
|