PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Search from dynamic pl-script dos not work on new version... (http://www.phpdig.net/forum/showthread.php?t=1619)

Hoek 12-13-2004 01:30 AM

Search from dynamic pl-script dos not work on new version...
 
I use a pearl-script like 'tree.pl' as feed for the phpdig-spider. The script is located in the cgi-bin directory from the site. In older phpdig=versions (<1.8.0) this works fine. In the latest update 1.8.5 I get the error result message:

HTTP/1.1 403 Forbidden - http://www.mysite.com/cgi-bin//
See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for explanation.

I can I solve this problem?

Charter 12-13-2004 07:27 AM

That means that PhpDig is not allowed to do a directory listing of the cgi-bin directory. Chances are that that was happening before, but you just didn't see the output onscreen. In later versions, such output is printed to screen.

Hoek 12-13-2004 08:51 AM

Hello Charter,

Thanks for the reply, but I think you are wrong... Please check http://www.helpdeskwater.nl/cgi-bin/phpdig.pl. In version 1.8.0 I use this as seed for the spider. Result is a nice dynamic page with all hyperlinks on it. When you let this link spidered with phpdig 1.8.0 with depth 1, you get a + for every link on this output page.

It just does'nt work with 1.8.5..... Is there some setting I missed? The script just calls the site tree within a template.

Hoek 12-13-2004 09:12 AM

Hello Charter,

study on the config.php file again lerned me a new parameter:

define('LIMIT_TO_DIRECTORY',true);

Default is this value 'true'. I changed this to 'false' and the system works fine again!


All times are GMT -8. The time now is 03:59 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.