Well... what's the rest of your .shtml file ? did you put a </head> ?
----- Original Message ----- From: "Octavian Rasnita" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 26, 2002 10:11 PM Subject: text/plain versus text/html > Hi all, > > Can you tell me what should I put in an SHTML file to show like text/html > and not as text/plain? > > if I use: > > use LWP::Simple; > print head(http://localhost/index.shtml); > > > This prints: > text/plain; charset=ISO-8859-1Apache/2.0.36 (Win32) > > I have problems because of this fact with a web crawler. > > In my index.shtml file I have: > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <html lang="en"> <head> <title>Title</title> > <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> > > If I change the name of the file to index.html, it tells me that the file is > text/html. > > Thank you. > > Teddy, > My dear email address is [EMAIL PROTECTED] > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]