PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 04-17-2004, 06:17 AM   #1
tryangle
Green Mole
 
Join Date: Jan 2004
Location: Penns Woods
Posts: 17
Question returning results of internal & external sites

Hi,

How would I go about spidering a site that is on the server, since I don't access it as www. but everyone else does. Is there a way to spider the site so that the pages and links are returned as external to the server so they won't be dead links to everyone else.

TIA for your input on this,
Randy
tryangle is offline   Reply With Quote
Old 04-17-2004, 09:24 AM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
If I understand what you're asking, you need to change the following option in config.php to true:
Code:
define('PHPDIG_IN_DOMAIN',false);
The comment about this statement in the documentation says:
Quote:
//allows phpdig jump hosts in the same
//domain. If the host is "www.mydomain.tld",
//domain is "mydomain.tld"
vinyl-junkie is offline   Reply With Quote
Old 04-17-2004, 06:04 PM   #3
tryangle
Green Mole
 
Join Date: Jan 2004
Location: Penns Woods
Posts: 17
Thanks for your reply...

Hi vinyl-junkie,

I read those notes in config.php but in terms of DNS, domain.tld is an A record... which is assigned an external IP address and a C name, like (www) is sortta mapped to the A record. So, it's basically mapped to the same (external) IP address. Anyway, the server can't be accessed from the lan via the external IP, it would have to have a different A record with an internal IP and C name mapped to that A record. If that makes sense...

I'm thinking I might be able to just run the spider on the site then update the database to reflect the www.

Any other ideas?
tryangle 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
Blank results & Speed Dave A Troubleshooting 0 06-30-2007 02:05 AM
Spider & Search the Mirror, return results for Live stabilo How-to Forum 0 12-01-2005 06:27 AM
Custom Search Not Returning Results skellybobs Troubleshooting 1 11-05-2005 12:50 PM
returning search results in categories ~ jeremiah How-to Forum 2 06-06-2004 01:00 PM
Many sites indexed - how to restrict search results to just one or two ? ciaran@clissman How-to Forum 2 05-27-2004 01:11 AM


All times are GMT -8. The time now is 10:29 PM.


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