I need to configure the PHP gateway to excute my PHP codes.but cannot configure one correctly. After creating a PHP gateway object in Zope's root i gave the docroot property's path as "/srv/www/htdocs" which is document root for my apache server. but when i click on the view tab the following msg appears: "'/srv/www/htdocs' may not be a PHP-CGI program. The result from the program is empty(0 byte)." kindly help me.
prabuddha ray wrote:
After creating a PHP gateway object in Zope's root i gave the docroot property's path as "/srv/www/htdocs" which is document root for my apache server.
Just put your php somehwere else and serve it directly through Apache. Then proxypass the rest of your requests using mod_rewrite through to your Zope server... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (2)
-
Chris Withers -
prabuddha ray