Why not create a bogus domain on your local machine and define the address
in the hosts and networks file to get around the dns issue of the bogus
name?
doug
-------Original Message-------
From: [EMAIL PROTECTED]
Date: September 4, 2002 8:33:44 AM
To: [EMAIL PROTECTED]
Subject: (Archive Copy) [sambar] sub-domain for 'localhost' ??? {01}
Hi there, I'm re-designing a WORKING Perl script.. to combine 2 databases,
2 sets of headers/footers (which the scripts include)..
& just do 1 set of cgi scripts & use the sub-domain to determine which
databases / Footers to use...
QUESTION:
Is there a way to add a 'subdomain' to 'localhost' ??
I'm having trouble with "Premature end of script headers" & I'm finding it
VERY hard to determine where the problem is...
as the script finds the subdomain name, I cant just use the 'localhost' to
try & determine the error.. & when i upload to the ISP/.server - It doesnt
tell me the "LINE NUMBER" where my scrupt actually started to print...
1) Can Sambar have 'subdomains' ?
2) Is there a perl script/line I can use to FORCE the script to tell me
what line number the error occured in ?
G.
-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/