PDA

View Full Version : Setting up Apache


Cengbrecht
06-17-2009, 01:15 AM
First, download the Win32 Binary without crypto (no mod_ssl) (MSI Installer): apache_2.2.11-win32-x86-no_ssl.msi (http://apache.securedservers.com/httpd/binaries/win32/apache_2.2.11-win32-x86-no_ssl.msi)

1. Install Apache
Start the installer, apache_2.2.11-win32-x86-no_ssl.msi, and look below to configure the program for first time install.Pages 1 through 3
The first three wizard pages are relatively straightforward- Standard Install procedure, if you need help you can post in the Forum (http://glitchpc.com/forums/forumdisplay.php?f=68), or check the Chat (http://glitchpc.com/forums/view.php?pg=chat).

Page 4http://lh6.ggpht.com/_qAEgR8Wxf0M/SjdnH823xZI/AAAAAAAAGnY/_tg7lnKnzYA/s800/Installation%20wizard%20page%204.jpg* Network DomainNote: this could be anything from your network's name to the color of the sky, it is not terribly important unless you are on a Domain, or are officially setting this up.* Server NameNote: Again as with the Network Domain, the information you put in here is not terribly important unless you are on a Domain, or are officially setting this up. If you have a real domain name to put in here, by all means; Tell the domain host your IP address and set up your server with a real domain name. Not a good idea if you are residential due to bandwidth concerns.* Administrators E-mail addressNote: Any e-mail will do, this part of the code will not work unless you have e-mail software installed on your server, or have access to other e-mail software on an external server. (not covered in this instructional page.)* Ports 80 or 8080 Reference PictureNote: This is to select between the service running all the time (Logged in or not) Port 80*
Or Only when needed, running on Port 8080
You choose what you need and then continue.Page 5
Please select Custom, unless you wish to have the default install path.

Page 6
Select "Change..." to change the Path you see listed.

Page 6a

http://lh4.ggpht.com/_qAEgR8Wxf0M/SjdnJHeAeAI/AAAAAAAAGnk/K8V98tnG79A/s800/Installation%20wizard%20page%206b.jpg

Put in the Path of your choosing, making the path right in the base of a drive would be best, example C:\web or as I have done in the image.

Page 6b
Once you have changed the "Path" just press next.
Continue till you Have finished the installer, the other options are generic.Once you have finished the installer, you may notice a new icon in your taskbar on the right. This is the Apache Service manager.
This allows you to run more then one instance of Apache by changing the port that it uses.
Example: Ports 80, 81, and 82, you would see 3 Apache services in the manager.Note: In order to run multiple instances you are going to need to setup many services with multiple ports.
Example: Apacheport80:80, Apacheport81:81 so on.DO NOT FORGET TO UNBLOCK EITHER PORT 80 OR PORT 8080 IN YOUR FIREWALL, according to your selection on Page 5, either via your router, or the Windows Firewall.

If you wish to test your setup you can put "localhost" into the address bar of your internet browser, but to test it externally you need to get a friend or remote computer not on your local network to put in your IP-address. Once you do this you should see. "IT WORKS!" on your browser's screen.

When you are ready to start making HTML pages, you can put them in the Apache2.2 directory within your installation folder.

That concludes the Apache server setup, and you now have a working Apache server.