Re: You don't have permission to access foo.php on this server.

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

 



This is my Apache configuration (I use Plesk):
-----------------
   DocumentRoot "/var/www/vhosts/foo.com/httpdocs/web"
   <Directory "/var/www/vhosts/foo.com/httpdocs/web">
     php_admin_value open_basedir
"/var/www/vhosts/foo.com/httpdocs:/tmp:/usr/share/pear/plugins:/usr/share/php/plugins"
       Order Allow,Deny
       Allow from all
       AllowOverride all
       DirectoryIndex index.php
   </Directory>
------------------

On Thu, Mar 27, 2008 at 12:21 PM, thomas Armstrong <tarmstrong@xxxxxxxxx> wrote:
> Hi.
>
>  Using Apache/2.2 + PHP/5.2, I'm suffering an odd issue when accessing
>  an image generated with PHP.
>
>  When I access:
>  http://www.foo.com/apc.php?IMG=1&1206615989
>
>  I get *SOMETIMES* this error message
>  -------
>  Forbidden
>  You don't have permission to access /apc.php on this server.
>  ------
>
>  But most of times I access ok to the image, without any error message.
>  Any similar experience?
>
>  Thank you very much.
>

---------------------------------------------------------------------
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