directory list for restricted access settings
Posted: 26. July 2012 08:30
in the main settings I have
the apache manual isn't clear in what tags a lot of these directives belong, or I would be doing this myself.
I get an syntax error on the AllowOverride and I don't know why.
- Code: Select all
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<VirtualHost 127.0.0.1:80>
ServerName junk
DocumentRoot e:/HTMLjunk
<Directory e:/HTMLjunk/>
<RequireAll>
Require all granted
</RequireAll>
</Directory>
#ServerAlias junk
#ServerAdmin nobody@nowhere.com
ErrorLog logs/htmljunk-error.log
CustomLog logs/htmljunk-access.log common
#this is a junk test directory, so we want a directory listing when accessing / using mod_autoindex
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</VirtualHost>
the apache manual isn't clear in what tags a lot of these directives belong, or I would be doing this myself.
I get an syntax error on the AllowOverride and I don't know why.