PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 12-13-2004, 02:30 AM   #1
Hoek
Green Mole
 
Join Date: Feb 2004
Posts: 17
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?
Hoek is offline   Reply With Quote
Old 12-13-2004, 08:27 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 12-13-2004, 09:51 AM   #3
Hoek
Green Mole
 
Join Date: Feb 2004
Posts: 17
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 is offline   Reply With Quote
Old 12-13-2004, 10:12 AM   #4
Hoek
Green Mole
 
Join Date: Feb 2004
Posts: 17
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!
Hoek is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
search doesn't work LloydNish Troubleshooting 1 01-14-2006 12:50 PM
indexing dynamic pages attriel Troubleshooting 2 01-14-2005 08:06 PM
Indexing Dynamic Content greenman How-to Forum 0 11-11-2004 06:40 AM
Indexing word doc's OK search through files don't work dapuse External Binaries 3 02-05-2004 08:38 AM
ThinkDing Php MySql Search Script zizion The Mole Hole 1 11-10-2003 09:09 AM


All times are GMT -8. The time now is 01:41 PM.


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