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

debian sarge and php-cgiwrap



Hi

Has anyone had success with php-cgiwrap/Apache2/php4-cgi

I've been trying to get it working without any success.


httpd.conf
-----------------------------------------------------


ScriptAlias /cgi-sys/ /usr/lib/cgi-bin/

<Directory /usr/lib/cgi-bin>
       AllowOverride None
       Options None
       Order allow,deny
       Allow from all
</Directory>

---------------------------------------------


/etc/apache2/sites-available/mysite
----------------------------------------------

<VirtualHost * >
       #Basic setup
       ServerAdmin webmaster@mysite.com
       ServerName www.mysite.com
       DocumentRoot /home/USER/public_html

       <Directory /home/USER/public_html>
               Order Deny,Allow
               Allow from all
               # Don't show indexes for directories
               Options -Indexes

               AddType php-cgiwrap .php
               Action php-cgiwrap /cgi-sys/php-cgiwrap/USER/php4-cgi

               DirectoryIndex test.php
       </Directory>
</VirtualHost>

----------------------------------------------------



I get a permission problem
----------------------------------------------

Forbidden
You don't have permission to access
/cgi-sys/php-cgiwrap/USER/php4-cgi/test.php on this server.

-----------------------------------------------


Any help would be greatly appreciated

Andreas



Reply to: