Steps to setup Apache
Here are the main steps you should follow after installing apache.
1) Make sure apache is working without optiperl. This is checked easily by entering in any browser
http://127.0.0.1/index.html
This should show the file apache\htdocs\index.html.
Also http://127.0.0.1/cgi-bin/script.pl should execute script.pl in apache\cgi-bin. You can copy into this folder any example script from optiperl's webroot folder. Just make sure first to change the first line to something like:
#!c:\perl\bin\perl.exe
or wherever the path to perl is.
2) In Optiperl follow http://www.xarka.com/optiperl/help/usingapache.htm to set up the 5 settings in optiperl's options dialog.
3) Then make sure BOTH below items are selected in the server menu of optiperl:
Run with server
(external:80) ... (the last line of the server menu)
13.11.2006. 08:05
This article hasn't been commented yet.
Write a comment