Sample Demo Windows Installation |
|
The following steps demonstrate a sample installation of the PxPlus Apache interface on Windows.
Step |
Description |
1. |
Download the current Apache 2.2.3 and install it. https://archive.apache.org/dist/httpd/binaries/win32/apache_2.2.3-win32-x86-no_ssl.msi |
2. |
Download the latest PxPlus version and install it. |
3. |
Add DEMO key for PxPlus. This is used for the purposes of this example; however, in production, you would enter your proper activation key and register the product. |
4. |
Create a program directory prog in: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs |
5. |
Start PxPlus to Command mode and enter the following test program: 0010 PRINT (%PRINT_FN) "Hello World from PxPlus on Apache" Save it to: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\prog\demo.pxp |
6. |
Copy the file windows.pxp.cgi from the *plus/apache directory to: Note: |
7. |
Open the pxp.cgi file (from above) using Notepad to verify the pathname to the pxplus.exe is correct: |
8. |
Edit the Apache configuration file using Notepad and search for first "AddHandler", which (in this version) was on a line as follows: # AddHandler allows you to map certain file extensions to "handlers": Scroll down to the following lines: Insert the following lines (in red), as per the Apache Configuration document: #AddOutputFilter INCLUDES .shtml Resave the configuration file. |
9. |
Restart the Apache server using the Start -> Programs -> Apache -> Control Apache Server -> Restart option. |
10. |
Launch Explorer and enter: http://localhost/prog/demo.pxp |