CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Win32 Programming Help:
Perl scripts through browser on a local computer

 



mwaf
Deleted

Apr 15, 2000, 6:01 AM

Post #1 of 4 (3186 views)
Perl scripts through browser on a local computer Can't Post

I've downloaded (and installed) ActivePerl 5.6 (on NT) and I want to run perl scripts through a browser (mostly IE) on an internal webpage. However I really don't know how I could get this to work. If I open an .pl file for Explorer Perl will run it and exit before you blink and eye (well the speed obviously is due to the simplicity of the script I tested). If I on the other hand open it through the browser it will read it as and html file and if I press 'Refresh' it will read it as and text file.

So is there any way of creating a cgi-bin directory on the local harddrive and put the scripts there or is there any other way to get the perls scripts to work. (Also so that the <!--#exec cgi="/cgi-bin/whatever"--> tag would work).

Hopefully you got my point :-)


Jasmine
Administrator

Apr 15, 2000, 7:12 AM

Post #2 of 4 (3186 views)
Re: Perl scripts through browser on a local computer [In reply to] Can't Post

You'll need to install a web server in order your your cgi programs to run in the browser. http://www.apache.org/dist/binaries/win32/

After you download Apache, check out the "How do I run scripts on my PC?" article, written for the Perl Archive by Cache-22.co.uk at http://tlc.perlarchive.com/0003/02.shtml

Good luck!


mwaf
Deleted

Apr 15, 2000, 8:40 AM

Post #3 of 4 (3186 views)
Re: Perl scripts through browser on a local computer [In reply to] Can't Post

I'll have a try Smile

Thanks!


brian.hayes
User

Apr 15, 2000, 8:57 AM

Post #4 of 4 (3186 views)
Re: Perl scripts through browser on a local computer [In reply to] Can't Post

I you install a server first, then install perl it will create the mappings required.

Brian Hayes

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives