PDA

View Full Version : Anyone have luck serving phpdig through Zope?


Ellsmasher
01-11-2004, 12:48 PM
I am a long time user of the Zope webserver, and there is a PHPGateway/PHPWrapper module that basically lets you have a php cgi. I am about 80% completed with integrating phpdig into my Zope site, but I think the PHPGateway parser is mangeling my paths. For instance, if I try to index a specific directory through admin.php, The PHPGateway attempts to look for spider.php in http://localhost/path_to_target_directory/
target_index_html/admin/spider.php

I think it has to do something with base_href or the fact that the PHPGateway is working in a local file system directory while the Zope web server has no such local file structure.

Anyway, just wondering if anyone has configured phpdig with this flavor of setup:

Info:

PHP - 4.3.4
Linux RH 9/ 2.6.0 kernel
Zope 2.6.2
PHParser 1.1.0 (PHPGateway)

Charter
01-11-2004, 01:57 PM
Hi. Maybe something in this (http://www.phpdig.net/showthread.php?threadid=310) thread might help?

You might find this (http://www.phpdig.net/showthread.php?threadid=364) thread useful when attempting to crawl a site that uses a base href tag.