Once you have completed the above, you’ll need to do a couple of quick tests to check that you’ve configured Apache correctly. Firstly, create a standard HTML document with ‘Congratulations on a fine piece of configuration’ in between the <body tags> in the www folder, and call it index.html Now open your browser and type:
Your self-praise should be displayed. In order to test SSI, create the following file in Notepad and save it as test.shtml:
Now type http://localhost/test.shtml in the address bar, and you should see a page with; ‘SSI Test Successful!’ at the top, followed by ‘Congratulations on a fine piece of configuration’ in- between two horizontal lines. To test cgi; create the following in Notepad:
Save it as test.bat in the cgi folder and in the browser address bar type;
This should execute the batch file, or at the very least give you an Open or Save dialogue box. If you get a ‘Page cannot be displayed error’, you may need to install XP service pack 1, which can be found on the Microsoft Update site. Lastly, to test PHP, create the following file in Notepad and save it as test.php in the www directory:
blog comments powered by Disqus |