|
|
Posted by admin
-
October 25, 2007
-
Filed in 'How to' solutions
-
2,132 hits
|
NetServe Web Server supports many different scripting languages through the use of the Common Gateway Interface (CGI), such as ASP, Perl and PHP.
There are three simple steps to successfully add PHP support to NetServe
1. Download the PHP Interpreter from
http://www.php.net/downloads.php
2. Once downloaded run the installation package and follow its on screen prompts.
3. You will now need to add some NetServe settings.
Setting the File Extensions
Right click on the NetServe icon in the system tray (bottom right of screen) and select "Server Options" from the menu.
Now click on the CGI Interpreters button, using the CGI Interpreters window, enter "php" as the file extension, this will allow PHP to interpret files with extensions of php.
Setting CGI Interpreter Path
Now enter the complete CGI Interpreter path, this will be the path where you installed PHP, which by default would have been "C:PHPphp.exe" clicking add will add this Interpreter into the CGI Interpreters List, clicking OK will confirm the changes.
If you plan on using the PHP Interpreter straight away, ensure that the "Use CGI Interpreters" check box is ticked before clicking OK on this window.
Setting the Appropriate Security Levels
To allow scripts to be run you must set the security level of the folder containing your PHP Scripts.
In The Folder Security screen, add an alias (for example /CGI-BIN) with a Realm description of your choice (The longer the more secure).
Ensure the "Allow Scripts" check box is ticked, and any other permissions you want to apply to this folder (and sub folders) are ticked, then click Add and OK.
Security Permissions
NetServe Web Server
NetServe is a super compact Web Server and File Sharing application for Windows NT, 95, 98, 2000, and XP. It’s HTTP Web Server can serve all types of files including html, gif and jpeg, actually any files placed in your NetServe directory can be served.
New key features include Server-Side-Include (SSI) support and CGI/1.1 support giving you the choice of your prefered scripting language, including but not limited to; Perl, ASP and PHP, to create your dynamic content.
|
|
|
|
|
|
Related software:
|
Leave a Reply
|
|
|