[Webdev] Apache permissions

adam beecher lists at spamfilter.cc
Wed Jan 8 15:41:19 GMT 2003


Can anyone explain to me why the /last/ directory in this block is not
allowing me access, whereas the directory before it is? I've tried every
goddamned variation I can think of, nothing works...

DocumentRoot /var/www/phpadsnew/current
<Directory />
    Options FollowSymlinks
    AllowOverride None
    Order Deny,Allow
    Deny from all		# Default, no access at all.
</Directory>
<Directory /var/www/phpadsnew/current>
    Order Deny,Allow
    Allow from all	# Allow access from everywhere.
</Directory>
<Directory /var/www/phpadsnew/current/admin>
    Order Allow,Deny
    Allow from 62.221.11.	# Allow only local access.
</Directory>
<Directory /var/www/phpmyadmin/current>
    Order Deny,Allow
    Deny from all
    Allow from 62.221.11.	# Allow only local access!!!
</Directory>

TIA,
adam




More information about the Webdev mailing list