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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]