Getting Apache Up. - testmy.net resource / tool
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Home
Download Test
Test Your Download Speed
Test Download AND Upload
Upload Test
Test Your Upload Speed
Test Upload AND Download
Community Forum
Community Forum Home
» Log-In
» Register
Internal Search
Google Powered Search
Computer & Net Guides
ISP Discussion
Forum Sitemap
Member List
Forum Stats
Forum Help and Info
Calendar & Birthdays
Database Stats
Host Stats
Member Stats
Share Score
Misc Tools
Conversion Calc.
Speed Chart
Conversion Table
Create a Test
Share Score
Automatic Test
Forum Archive
RSS and Blog Feeds
Score Database
trace/ping/whois/DNS
Wallpapers
Tweak Guide
!! Forum Search !!
!! Google Search !!
TMN Detailed Sitemap
News
News Home
Join
Theme
See Theme List
America the Beautiful
Blacken
Dark Blood Red
Blue
Blue Black Box
Blue Gray
Brown
Christmas
Dark Blue
ekaf
GL Series (default)
Gray Shades
Original Feel
Green
Greenhouse
Greenhouse Gray
Halloween Theme
Orange
Purple Darkness
Red/pink
Red 'n Black
TurkeyDay!
» Neuron (Default)
Neuron Black
Rise (New!)
Click to read why...
News
:
Is blue NOT your favorite color? Well why not customize testmy.net to your liking?! We offer over 25 theme variations, there is sure to be at least one that suits your personal style,
choose one here
December 02, 2008, 02:42:39 AM
testmy.net Broadband
|
Main Forum
|
HELP!
|
Programming and Website Help
|
Server Help
| Topic:
Getting Apache Up.
Recommended Tests
Test PC
Performance:
Click here to run a free Performance Scan
Test PC
Stability:
Click here to run a free Registry Scan
Note: The links above are sponsored links
0 Members and 1 Guest are viewing this topic.
« previous
next »
Topic Tools
Search this topic
Pages
1
2
3
All
Author
Topic: Getting Apache Up. (Read 14697 times)
Indestructable
Sophist Member
Expert
Offline
Gender:
Posts: 1306
Test My?
Getting Apache Up.
«
on:
January 31, 2005, 05:05:54 AM »
I'm on Windows. XP. Media Center Edition. SP2. ;) Walkthrough, please.
Logged
Have a Motorola cell phone? Feel like making it
cool
instead of boring ole' stock like everyone else's?
Well, that's good!
Click here
to become a member, and we'll get you modding your phone in no time!
Yes, by the way, this
certainly
includes the RAZR. My name on there is br3nn4n, so if you join and just wanna say Hi or are completely lost as to where to begin, PM me and I'll help ya out
CA3LE
testmy.net Patriarch
Administrator
TMN Seasoned Veteran
Offline
Gender:
Posts: 5087
yep... ima g33k
Re: Getting Apache Up.
«
Reply #1 on:
January 31, 2005, 06:56:25 AM »
So you want apache huh. Well, here we go.
First you need to get apache, easiest thing to use is the MSI Installer. You can download this at
http://httpd.apache.org/download.cgi
grab the "Win32 Binary (MSI Installer):" current is apache_2.0.52-win32-x86-no_ssl.msi - It's about 6.6 MB
I myself use Linux, but I still should be able to walk you through Windows APACHE setup. It is fairly simple, but when we get into PERL and PHP it may get tricky. Here goes.
1) open the installer
2) Next, Accept the terms.. blah blah, you Will then get to the Server Information screen. If you don't have a domain name you are going to point to this don't worry just make something up (see ref-1) also for now we are going to select the default "port 80" setup. Some hosts (most Cable providers block port 80, but I will give more info on how to get around that later in this guide.
3) Choose "Typical Install" don't bother wasting your time with custom... there really isn't any custom install options. Click through to the install screen (next, next, next) Done with the install.. click finished
4) Now if you have firewalls or antispyware software running you will have to allow Apache to open an outbound connection. For instance, I have Microsoft Antispyware and Windows Firewall running. Right after the install both of these programs should pop-up and ask you what you want to do... accept and un-block (ref 3.a & 3.b)
5) Now you need to open apache so you can get a feel for it, It should already be running in your tray. Go down to your tray and right click what looks like a play icon. Then select open apache monitor (ref 4) this is where you are going to restart apache if needed... go ahead for now and close the window - click okay (or... don't worry, go ahead and click the X .. it will still be running)
6) Next make sure Apache is working okay, go ahead and type your local IP in your browser, for instance I am behind a router so my IP of my machine is 192.168.0.200, so in a web browser type
http://192.168.0.200
. If you don't know your IP go to [start] >> [run] >> type ipconfig and it will show you your IP
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:Documents and SettingsCA3LE>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.200
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
Ethernet adapter Local Area Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Pulling up your IP in a browser should show you the page in "ref 5" - Now if you were pulling this up outside of your home you will need to pull this up via your external IP address, a quick way to find out what that address is to go to
http://www.testmy.net/whois.php
and that script will show you your IP (it says "Check your IP XX.XX.XX.XX")
7) NOW, say you are like me and you are behind a router. You will need to forward your ports with-in your router to get this all to work. How this works is your router is going to get the request from the internet. It needs to know which computer on your network to send the request to, if it doesn't know.. the router will assume that the request is for itself... Routers are all different when it comes to this. My suggestion if you don't know how to forward ports with your router is to go to the manufactures website and research "Port Forwarding" - I will use my router as a reference point. 1) Go to your routers IP address in a web browser, mine is
http://192.168.0.1/
2) Go under Advanced / Ports - You will see a start port, end port and server IP address text box you can fill in.
If your host allows you to use port 80 you are going to type the following
Start Port ***
End Port ***
Server IP Address ***
80
80
192.168.0.200
If your host does not allow you to use port 80 you are going to type the following
Start Port ***
End Port ***
Server IP Address ***
8080
8080
192.168.0.200
side-note: (you can make up a port if you'd like... but you may want to make sure the port isn't being used by anything else on your system)
Now that you have ports forwarded you can go ahead and edit httpd.conf. If you have followed my ininstructionso a tee and your host doesn't allow you to use port 80 you will NEED to edit your conf file. This is located at...
Code:
C:Program FilesApache GroupApache2confhttpd.conf
First thing you need to edit in that file is the listen port, Go ahead and do a search for "Listen 80" - Any line in this conf file, by the way, that has # before it is not read by the system (that is called commenting out a line, just to let you know)... back to the lecture at hand (name that song.. lol) when you do a search for that you should land RIGHT on the field to edit the listen port. change this to say
Code:
Listen 8080
This will make your server viewable on port 8080 instead of port 80. after you edit that save the .conf file and restart apache, look back to step 5 if you forgot (already
) how to restart. After a re-start open your local IP in a browser to test this out... although this time you will need to open (again, my IP for instance)
Code:
http://192.168.0.200:8080
If it's working GREAT... now your ready to publish
There are MANY more options in httpd.conf -- too many for me to go over, for the most part there is documentation inside the httpd.conf file before each option so you know what everything is.
Here is a couple of options I have set for the testmy.net server...
Timeout 300
KeepAlive On
MaxKeepAliveRequests 0
KeepAliveTimeout 30
And... the options below are only for Linux/Unix I believe... but have made a huge performance increase to my server.
MinSpareServers 25
MaxSpareServers 35
StartServers 15
MaxClients 100 #doesn't mean max users online
MaxRequestsPerChild 0
... AGAIN TIME TO PUBLISH
[li]Open the folder
Code:
C:Program FilesApache GroupApache2htdocs
If you'd like... delete everything in this folder. This is where you put your files for the website. If you would like to change the location of these documents you need to edit httpd.conf - edit the line
Code:
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
change to (for instance)
Code:
DocumentRoot "C:/wwwroot/"
For the most part you are ALL done... let me know if you need help installing PERL or PHP. You can get PERL at
http://www.activestate.com/Products/Download/Register.plex?id=ActivePerl
(Active Perl is a windows onyl app) and you can get PHP from
http://www.php.net
direct like is
http://www.php.net/downloads.php
you want to get "PHP 4.X.XX installer" or "PHP 5.X.XX installer" for windows, if you have Linux you should know what to get ;)
After you get that stuff installed you can run PERL and PHP scripts. You will quickly find out why APACHE kicks Microsofts IIS (Internet Information Services) ASS! ENJOY!
Logged
Indestructable
Sophist Member
Expert
Offline
Gender:
Posts: 1306
Test My?
Re: Getting Apache Up.
«
Reply #2 on:
January 31, 2005, 07:08:08 AM »
whoa. that'll take a while. thanks for the guide man. I'l do it.
I'm not on a router, not on windows. I just totally uninstalled apache, so this guide should work! thanks again. I'll report when I'm done.
«
Last Edit: January 31, 2005, 07:14:43 AM by Indestructable
»
Logged
Have a Motorola cell phone? Feel like making it
cool
instead of boring ole' stock like everyone else's?
Well, that's good!
Click here
to become a member, and we'll get you modding your phone in no time!
Yes, by the way, this
certainly
includes the RAZR. My name on there is br3nn4n, so if you join and just wanna say Hi or are completely lost as to where to begin, PM me and I'll help ya out
CA3LE
testmy.net Patriarch
Administrator
TMN Seasoned Veteran
Offline
Gender:
Posts: 5087
yep... ima g33k
Re: Getting Apache Up.
«
Reply #3 on:
January 31, 2005, 07:11:34 AM »
no problem.
Logged
Indestructable
Sophist Member
Expert
Offline
Gender:
Posts: 1306
Test My?
Re: Getting Apache Up.
«
Reply #4 on:
January 31, 2005, 07:36:19 AM »
for
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.200
I'm getting
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : charterpipeline.net
IP Address. . . . . . . . . . . . : 66.XXX.XXX.XX
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 66.215.200.1
heh? ;)
edit, I can see it from 66.XXX.XXX.XX, my ip. can you?
oh, and how do I get it to work with a no-ip domain now that I cahged it to port 8080? I don't think that charter blocks 80, I mean, their damn upload is so low as it is!
«
Last Edit: January 31, 2005, 09:02:49 AM by CA3LE
»
Logged
Have a Motorola cell phone? Feel like making it
cool
instead of boring ole' stock like everyone else's?
Well, that's good!
Click here
to become a member, and we'll get you modding your phone in no time!
Yes, by the way, this
certainly
includes the RAZR. My name on there is br3nn4n, so if you join and just wanna say Hi or are completely lost as to where to begin, PM me and I'll help ya out
CA3LE
testmy.net Patriarch
Administrator
TMN Seasoned Veteran
Offline
Gender:
Posts: 5087
yep... ima g33k
Re: Getting Apache Up.
«
Reply #5 on:
January 31, 2005, 09:04:50 AM »
Quote from: Indestructable on January 31, 2005, 07:36:19 AM
for
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.200
I'm getting
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : charterpipeline.net
IP Address. . . . . . . . . . . . : 66.XXX.XXX.XX
Subnet Mask . . . . . . . . . . . : 255.255.252.0
Default Gateway . . . . . . . . . : 66.215.200.1
heh? ;)
edit, I can see it from 66.XXX.XXX.XX, my ip. can you?
oh, and how do I get it to work with a no-ip domain now that I cahged it to port 8080? I don't think that charter blocks 80, I mean, their damn upload is so low as it is!
I hid your IP, ya shouldn't really post that too much
ANYWAY, i can't see your server at either port 80 or port 8080 ~~ if you can see it from your end still try port 6676 - make sure you re-start apache. I will teach you more after you actually get it to where people can see it
Logged
Indestructable
Sophist Member
Expert
Offline
Gender:
Posts: 1306
Test My?
Re: Getting Apache Up.
«
Reply #6 on:
January 31, 2005, 09:18:41 AM »
hey try this:
http://lemonaid.serveftp.com/
please.
ya should get the Apache installation page. I wan't even getting that before. I edited my no-ip account. ;)
Logged
Have a Motorola cell phone? Feel like making it
cool
instead of boring ole' stock like everyone else's?
Well, that's good!
Click here
to become a member, and we'll get you modding your phone in no time!
Yes, by the way, this
certainly
includes the RAZR. My name on there is br3nn4n, so if you join and just wanna say Hi or are completely lost as to where to begin, PM me and I'll help ya out
CA3LE
testmy.net Patriarch
Administrator
TMN Seasoned Veteran
Offline
Gender:
Posts: 5087
yep... ima g33k
Re: Getting Apache Up.
«
Reply #7 on:
January 31, 2005, 12:57:53 PM »
Nope, I am getting nothing. Do you have a router?
Logged
dagger
TMN Friend
Offline
Gender:
Posts: 214
Re: Getting Apache Up.
«
Reply #8 on:
January 31, 2005, 01:09:10 PM »
my friend you are sooooo funny
i installed apache/php/mysql/phpmyadmin and it took around 3 days without a tutorial then i just downloaded xampp that came with it and a whole lot more
http://www.apachefriends.org/en/xampp.html
lol now onto the domain names.
http://dyndns.org
and my site is.............
http://DaggerNET.Ath.Cx
Logged
Indestructable
Sophist Member
Expert
Offline
Gender:
Posts: 1306
Test My?
Re: Getting Apache Up.
«
Reply #9 on:
January 31, 2005, 10:58:38 PM »
hey, CA3LE, no router here, PPPoE connection! ;)
hey, dagger, I'll check that out!
thanks guys!
indestructable
Logged
Have a Motorola cell phone? Feel like making it
cool
instead of boring ole' stock like everyone else's?
Well, that's good!
Click here
to become a member, and we'll get you modding your phone in no time!
Yes, by the way, this
certainly
includes the RAZR. My name on there is br3nn4n, so if you join and just wanna say Hi or are completely lost as to where to begin, PM me and I'll help ya out
reno
TMN Friend
Offline
Gender:
Posts: 642
reno is me
Re: Getting Apache Up.
«
Reply #10 on:
January 31, 2005, 11:02:00 PM »
I am going to recommend this
http://apache2triad.sourceforge.net/
Its realllly nice program and it sets everything up for you. Its got PHP installed MySQL server and awhole other really nice things.
Logged
renos world
I F1NAL I
Global Moderator
Expert
Offline
Gender:
Posts: 1784
CHSI
Re: Getting Apache Up.
«
Reply #11 on:
January 31, 2005, 11:16:32 PM »
Hey, CA3LE does Cox block port 80
Man, I wish I knew all this stuff when I was born.
Logged
Indestructable
Sophist Member
Expert
Offline
Gender:
Posts: 1306
Test My?
Re: Getting Apache Up.
«
Reply #12 on:
January 31, 2005, 11:27:38 PM »
I doubt they do man. Thanks reno for the program. I'll alos check that out.
reno, do you host your own site?
Logged
Have a Motorola cell phone? Feel like making it
cool
instead of boring ole' stock like everyone else's?
Well, that's good!
Click here
to become a member, and we'll get you modding your phone in no time!
Yes, by the way, this
certainly
includes the RAZR. My name on there is br3nn4n, so if you join and just wanna say Hi or are completely lost as to where to begin, PM me and I'll help ya out
jim2006
TMN Friend
Offline
Gender:
Posts: 218
Re: Getting Apache Up.
«
Reply #13 on:
January 31, 2005, 11:43:03 PM »
I do!!! I host my own site and have for a long time but my problem is I can't get more than one site hosted from my single pc!!!? Any help there I use the virtual host and everything!!! Also my other problem Is I can't figure out how to port forward tried everything even DMZ!!! So I don't use my router when I can avoid it any help thanks!!!? Also I have the same setup as cable on my router ip of 192.168.0.1 to access and Ip of I think 192.168.0.100 for my pc not sure any help would be appreciated thanks!!!?
Logged
Sorry about my spelling!!! But I speak 3 languages!!! French,English,Spanish!!!!
Also if you need to contact me outside this site visit my site at www.[this.site.has.been.blocked.for.spamming] thanks agian!!!
Indestructable
Sophist Member
Expert
Offline
Gender:
Posts: 1306
Test My?
Re: Getting Apache Up.
«
Reply #14 on:
January 31, 2005, 11:53:59 PM »
CA3LE might be able to help ya. PM him please.
btw.....of course...my F#@&ing norton (at least I think) is blocking port 80. both are stealthed in a port scan...80 and 8080.
Logged
Have a Motorola cell phone? Feel like making it
cool
instead of boring ole' stock like everyone else's?
Well, that's good!
Click here
to become a member, and we'll get you modding your phone in no time!
Yes, by the way, this
certainly
includes the RAZR. My name on there is br3nn4n, so if you join and just wanna say Hi or are completely lost as to where to begin, PM me and I'll help ya out
Indestructable
Sophist Member
Expert
Offline
Gender:
Posts: 1306
Test My?
Re: Getting Apache Up.
«
Reply #15 on:
February 01, 2005, 12:01:41 AM »
try me now. I changed port #'s again. no-ip may take a sec to update the dns...sooo
http://lemonaid.serveftp.com
please tell me if you make it to the page that says
YAY!
Logged
Have a Motorola cell phone? Feel like making it
cool
instead of boring ole' stock like everyone else's?
Well, that's good!
Click here
to become a member, and we'll get you modding your phone in no time!
Yes, by the way, this
certainly
includes the RAZR. My name on there is br3nn4n, so if you join and just wanna say Hi or are completely lost as to where to begin, PM me and I'll help ya out
jim2006
TMN Friend
Offline
Gender:
Posts: 218
Re: Getting Apache Up.
«
Reply #16 on:
February 01, 2005, 12:14:42 AM »
Nope I didn't work!!! Don't worry with my router I have the same problem that is why it is not hooked up!!!
Logged
Sorry about my spelling!!! But I speak 3 languages!!! French,English,Spanish!!!!
Also if you need to contact me outside this site visit my site at www.[this.site.has.been.blocked.for.spamming] thanks agian!!!
Indestructable
Sophist Member
Expert
Offline
Gender:
Posts: 1306
Test My?
Re: Getting Apache Up.
«
Reply #17 on:
February 01, 2005, 12:26:40 AM »
i did a port scan, but I can't run the webserver on either 80 or 8080, nor 6676 like CA3LE suggested, so I'm trying 2025 since it reported as open at bbr. ;)
try it again in 3 minutes, please. ;)
Logged
Have a Motorola cell phone? Feel like making it
cool
instead of boring ole' stock like everyone else's?
Well, that's good!
Click here
to become a member, and we'll get you modding your phone in no time!
Yes, by the way, this
certainly
includes the RAZR. My name on there is br3nn4n, so if you join and just wanna say Hi or are completely lost as to where to begin, PM me and I'll help ya out
☻ ◦§1 ☺
Vice Admin
TMN Sr. Veteran
Offline
Posts: 3789
testmy.net Administration Team
Re: Getting Apache Up.
«
Reply #18 on:
February 01, 2005, 10:00:10 AM »
hehe i can see thru your XXX.XXX.XX's
Logged
*~ Member Since: September 20, 2004 ~*
running 10s outbound test (client to server) . . . . . 5.01Mb/s
running 10s inbound test (server to client) . . . . . . 20.62Mb/s
Download Connection is:: 21252 Kbps about 21.25 Mbps Download Speed is:: 2594 kB/s
Upload Connection is:: 4440 Kbps about 4.4 Mbps Upload Speed is:: 542 kB/s
VanBuren
TMN Seasoned Veteran
Offline
Gender:
Posts: 6117
Cablenut Tweaker
Re: Getting Apache Up.
«
Reply #19 on:
February 01, 2005, 10:08:18 AM »
hey Indestructable
thought i let you know that
http://66.215.202.11:81
works
VanBuren
Logged
3dmark06
PCmark05
My CPU
Indestructable
Sophist Member
Expert
Offline
Gender:
Posts: 1306
Test My?
Re: Getting Apache Up.
«
Reply #20 on:
February 01, 2005, 06:50:05 PM »
YAY!!!!! thanks van. now, how do I get that to work with my no-ip name? van? ;)
Logged
Have a Motorola cell phone? Feel like making it
cool
instead of boring ole' stock like everyone else's?
Well, that's good!
Click here
to become a member, and we'll get you modding your phone in no time!
Yes, by the way, this
certainly
includes the RAZR. My name on there is br3nn4n, so if you join and just wanna say Hi or are completely lost as to where to begin, PM me and I'll help ya out
reno
TMN Friend
Offline
Gender:
Posts: 642
reno is me
Re: Getting Apache Up.
«
Reply #21 on:
February 01, 2005, 07:03:20 PM »
Nope, I have a host with Linux since I have no idea how to use it, id like to though. Hostrocket.com
Logged
renos world
Indestructable
Sophist Member
Expert
Offline
Gender:
Posts: 1306
Test My?
Re: Getting Apache Up.
«
Reply #22 on:
February 01, 2005, 08:18:53 PM »
ok, try now.
Logged
Have a Motorola cell phone? Feel like making it
cool
instead of boring ole' stock like everyone else's?
Well, that's good!
Click here
to become a member, and we'll get you modding your phone in no time!
Yes, by the way, this
certainly
includes the RAZR. My name on there is br3nn4n, so if you join and just wanna say Hi or are completely lost as to where to begin, PM me and I'll help ya out
VanBuren
TMN Seasoned Veteran
Offline
Gender:
Posts: 6117
Cablenut Tweaker
Re: Getting Apache Up.
«
Reply #23 on:
February 02, 2005, 08:05:58 AM »
PM me your apache cfg file Indestructable and ill edit it for no-ip
VanBuren
Logged
3dmark06
PCmark05
My CPU
Indestructable
Sophist Member
Expert
Offline
Gender:
Posts: 1306
Test My?