

- #Apache server tutorial pdf install#
- #Apache server tutorial pdf zip file#
- #Apache server tutorial pdf manual#
#Apache server tutorial pdf install#
Step 6: install Apache as a Windows service If not, correct any nf configuration errors and retest until none appear. Open a command box (Start > Run > cmd) and enter: # navigate to Apache bin directory cd /Apache24/bin Your Apache configuration can now be tested. Line 251, set the root: DocumentRoot "D:/WebPages" For the purposes of this example, we’ll create a folder called D:WebPages and change nf accordingly: It’s good to use a folder on an another drive or partition to make backups and re-installation easier.

Step 4: Change the Web Page Root (optional)īy default, Apache returns files found in its C:/Apache24/htdocs folder. Line 227, specify the server domain name: ServerName localhost:80 Line 162, enable mod-rewrite by removing the # (optional, but useful): LoadModule rewrite_module modules/mod_rewrite.so Line 60, listen to all requests on port 80: Listen *:80 There are several lines you should change for your production environment: If you installed Apache anywhere other than C:/Apache24, now is a good time to search and replace all references to C:/Apache24. Note that all file path settings use a forward slash ( /) rather than the Windows backslash. Step 4: Configure ApacheĪpache is configured with the text file conf/nf contained in the Apache folder. Apache can be installed anywhere on your system, but you’ll need to change SVROOT configuration to point to your unzipped location - suh as E:/Apache24.
#Apache server tutorial pdf zip file#
We’ll install Apache in C:/Apache24, so extract the ZIP file to the root of the C:/ drive. You may have this installed already, but there is no harm installing it again.Īs always, remember to virus scan all downloads. However, it’s provided as a manually installable ZIP file from You should also download and install the Windows C++ runtime from. This version has performance and stability improvements over the official Apache distribution, although I’m yet to notice a significant difference. We’re going to use the unofficial Windows binary from Apache Lounge. If you would prefer Apache, either remove IIS as a Windows component or disable its services. If you have a Professional or Server version of Windows, you may already have IIS installed. You need to uninstall or disable any program that uses that port.
#Apache server tutorial pdf manual#
Manual installation offers several benefits:
