httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "thomas Armstrong" <tarmstr...@gmail.com>
Subject [users@httpd] Re: You don't have permission to access foo.php on this server.
Date Thu, 27 Mar 2008 11:24:19 GMT
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@gmail.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message