Welcome to Webhost4life Forum Sign in | Join | Faq

PERL

Started by luckyou03 at 08-26-2005 12:22 AM. Topic has 2 replies.

Print Search
Sort Posts:    
   08-26-2005, 12:22 AM
luckyou03 is not online. Last active: 12/9/2005 8:14:31 AM luckyou03

Top 150 Posts
Joined on 08-26-2005
Posts 2
problems with SSI can anyone help?
Reply Quote

ok here take a look at all this info I got here and tell me whats up:

____________________________________________

menu.pl file:

c:\perl\bin

$menu_file = "menu.txt";

print "Content-type: text/html\n\n";
open(FILE,"$menu_file");
while(<FILE>) {
   print $_;
}
exit;

____________________________________________

On the .shtml page:

<!--#exec cgi="menu.pl"-->

and I tried this:

<meta name="hideHeader" content=""

<!--#exec cgi="menu.pl"-->
 

____________________________________________

File permissions:

menu.pl:

Administrator -- RWXDPO
SYSTEM -- RWXDPO
IUSR_DEDI404 -- RX
NETWORK -- RX
NETWORK SERVICE -- RX
IUSR_******* -- RWX
Everyone -- RX

menu.txt:

Administrator -- RWXDPO
SYSTEM -- RWXDPO
IUSR_****** -- RX
Everyone -- R
NETWORK SERVICE -- R
NETWORK -- R
IUSR_DEDI404 -- R


   Report 
   08-26-2005, 12:24 AM
luckyou03 is not online. Last active: 12/9/2005 8:14:31 AM luckyou03

Top 150 Posts
Joined on 08-26-2005
Posts 2
Re: problems with SSI can anyone help?
Reply Quote
btw.. It's getting "Failed to execute CGI : Win32 Error Code = 2" on the .shtml page. The menu.pl, page.shtml and menu.txt are all in the same directory.
   Report 
   08-26-2005, 12:34 AM
admin is not online. Last active: 9/3/2008 8:45:11 AM admin

Top 10 Posts
Joined on 08-10-2005
Posts 226
Re: problems with SSI can anyone help?
Reply Quote
The error should mean file not found. So it's not finding your menu.pl.  Make sure the paths are correct?   I suggest you open a support ticket about this, at lease they have access to your account and can look at it for you.
   Report 
Webhost4life Fo... » General Discuss... » PERL » Re: problems with SSI can anyone help?

Powered by Community Server, by Telligent Systems