Site Panel Help | User Panel Help | Panel Demo's | Search | Help |
Categories· New Customer FAQs · FAQ Home |
XML-File<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?> <!-- XML-Output by phpMyFAQ 1.3.8 --> <phpmyfaq xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:NamespaceSchemaLocation="http://www.phpmyfaq.de/xml/faqschema.xsd"> <article id="47"> <language>en</language> <category>Perl - Cgi</category> <keywords></keywords> <theme>I have tried everything and now I doubt perl is working correct on my domain! </theme> <content xmlns="http://www.w3.org/TR/REC-html40">Some times, after hours of debugging, it just seems as if perl isn't running at all. When you reach that point of frustration try this: 1: Copy and paste the following to a file named "test.cgi". <pre>#!/usr/bin/perl print "Content-Type: text/html15121512"; print "Hello world";</pre> 2: Upload the file to your domain, while making sure your FTP program is uploading it in "ASCII mode". 3: With your FTP program change CHMOD to 755 for the folder where your file is located. 4: With your FTP program change CHMOD to 755 for the file. 5: Point your browser to the file, and realize that perl is doing fine. 6: Get back to debugging your initial file ;o)</content> <author>EchoEcho Support</author> <date>12.07.2009, 21:13</date> </article> </phpmyfaq> |
Copyright © EchoEchoPlus Hosting |