> I have installed ActivePerl on a Win2k server.  From the best I can tell,
> perl works, I've run the hello world test .pl file.  My problem is trying to
> run other .pl files.  When I run them from a browser, it either displays the
> text of the file or give me a login to access it.  No matter what login I
> use, it give me the login request again, and says I don't have permission to
> this file.  I have change the #!/usr/bin/perl several times, but still have
> the above listed problems.

You need to set the #! to just #!perl on a windows install of perl.  Unless you
are running on a UNIX box or a secured directory of NT, you should not have any
problems accessing the cgi script.

To display the html format in a browser, you must send an HTTP header (print
"Content-type: text/html\n\n";), otherwise you will get plain text back out.

Shawn

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to