The setup of an Apache server is beyond the scope of this document. Fortunately, there already exists an extensive amount of documentation on the topic. Below we have provided links for getting started.
There are a number of different web development environments that will simplify the setup and allow you to run and test CSWeb locally. If you are developing using Windows you may find
WampServer helpful. It will install and configure Apache, MySQL, and PHP.
If you are looking to setup a server to host CSWeb you will need to install and configure
Apache,
MySQL, and
PHP.
Regardless of your setup the Apache rewrite_module must be enabled. To do this you will need to edit the httpd.conf file. There may be multiple copies of this file on your computer. Once, you have located the file make a back up and then uncomment the following line LoadModule rewrite_module modules/mod_rewrite.so. Then restart Apache.