Re: Apache httpd error 403

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

 



I change my directive <Directory>, but not work again.

<VirtualHost *:80>
    ServerAdmin webmaster@xxxxxxxxxxxxxx
    DocumentRoot /var/www/www.portal.oduvaldocozzi.intranet
    ServerName portal.oduvaldocozzi.intranet
        <Directory /var/www/www.portal.oduvaldocozzi.intranet>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
                DirectoryIndex index.php index.html
        </Directory>

    ErrorLog "logs/portal-error_log"
    CustomLog "logs/portal-access_log" common
</VirtualHost>


2015-01-20 14:32 GMT-02:00 Eric Covener <covener@xxxxxxxxx>:
On Tue, Jan 20, 2015 at 11:06 AM, Rodrigo Cunha
<rodrigo.root.rj@xxxxxxxxx> wrote:
>         <Directory /var/www/>
>                 Options Indexes FollowSymLinks MultiViews
>                 AllowOverride None
>                 Order allow,deny
>                 allow from all
>                 DirectoryIndex index.php index.html
>         </Directory>
>
>     ErrorLog      "logs/portal-error_log"

Was your error in the expected log?  Could be wrong vhost.

In 2.4, you should be using 'require all granted' rather than Order
and Allow. Does it make a difference?


--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Atenciosamente,
Rodrigo da Silva Cunha


[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