Thanks for the input Igor,

On 10-10-23 09:14 AM, Igor Galić wrote:

A better way of handling this would be:

<Directory />
    Options FollowSymlinks
    AllowOverride None
    Deny from all
</Directory>

<Directory /var/www/*>
    # I like Contentnegotiation!
    Options +MultiViews

    # I usually don't allow .htaccess, but.. yeah.
    # This seems sensible.
    AllowOverride FileInfo AuthConfig Limits

    Allow from all
</Directory>


-------------------
this gives me the following error:
$ sudo /etc/init.d/apache2 reload
Syntax error on line 14 of /etc/apache2/sites-enabled/wordpress-sites:
Illegal override option Limits
Action 'configtest' failed.
The Apache error log may have more information.
   ...fail!
---------------

removing Limits gets rid of the errors, does that still accomplish most of your improvements?
m

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to