Re: mixing dynamic and static virtual host definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux