| 1 |
Downloaded
the current apache 2.2.3 and installed it
http://apache.mirrors.northco.net/httpd/binaries/win32/apache_2.2.3-win32-x86-no_ssl.msi
|
| 2 |
Downloaded
the current PxPlus build 9163 and installed it
http://www.pvxplus.com/downloads/pxp700-9163-W32.exe
|
| 3 |
Added
DEMO key for PxPlus. This was used for the purposes of
this example although in production you would
enter your proper activation key and register the
product.
|
| 4 |
Created
a program directory prog in
C:\Program
Files\Apache Software
Foundation\Apache2.2\htdocs
|
| 5 |
Started
PxPlus to command mode and entered the following
test program:
0010 PRINT
(%PRINT_FN) "Hello World from PxPlus on
Apache"
Saved it to :
C:\Program
Files\Apache Software
Foundation\Apache2.2\htdocs\prog\demo.pxp
|
| 6 |
Copied
the file windows.pxp.cgi from
the *plus/apache directory to: C:\Program Files\Apache
Software Foundation\Apache2.2\cgi-bin\pxp.cgi
Note: File was renamed
|
| 7 |
Open
the pxp.cgi file (from above)
using NOTEPAD to verify the pathname to the
PxPlus.exe is correct:
#!"C:\Program
Files\PVX Plus Technologies\PVX
Plus\pxplus.exe" *plus/apache/pxp_cgi -arg
debug
If needed change
the pathname and save file
|
| 8 |
Edit
Apache Config file Using Notepad and search for
first "AddHandler" which (on this
version) was on a line as follows:
# AddHandler
allows you to map certain file extensions to
"handlers":
Scrolled down the
following lines:
#AddOutputFilter
INCLUDES .shtml
</IfModule>
Inserted the
following lines (in blue) as per the config
document:
#AddOutputFilter
INCLUDES .shtml
</IfModule>
#
# PxPlus program CGI handler
#
AddHandler pxplus-srvr .pxp .pvp
Action pxplus-srvr
"/cgi-bin/pxp.cgi"
Resave the config
file
|
| 10 |
Restarted
the Apache server using the Start ->Programs
-> Apache -> Control Apache Server ->
Restart option. This could also be done from the
control panel.
|
| 11 |
Launched
Explorer and entered: http://localhost/prog/demo.pxp
|