You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nils-Börje Eklöf <ni...@telia.com> on 2006/05/06 15:33:41 UTC

[users@httpd] Newbee Manual for Apache on Windows XP

I am running a Widows XP pro system and trying to set up a webserver.

I have downloaded these files 
apache_2.2.2-win32-x86-no_ssl.msi
apache_2.2.2-win32-x86-symbols.zip
httpd-2.2.2-win32-src.zip
httpd-2.2.2-win32-src.zip.asc.txt
httpd-2.2.2-win32-src.zip.md5.txt

The installing of the msi file was successful and I can access the 
server via 
C:/.../htdocs  where i find the index.html location. 

Where do I put the unzipped files from the downloads I list above. 
What are they doing?
How can I move my default http-directory to D:?
Where do I find a manual for rockies that is written for XP-users (I 
find most of the helpmanuals to go to deep into what to me seems to be 
UNIX-stuff. Makes no sense for me...)

So - can anyone help a newbee to run Apache on XP?

Thanks

/Nils

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Next Newbee Question - Can�t access host from outside firewall...

Posted by "M.Makar Azer" <m2...@yahoo.com>.
I assume 81.227.242.105 is your public ip address
  your ISP might be blocking port 80 so you need to open your httpd.conf and change the following some other ports beside 80 maybe 8080 or something else:
   
  # Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#Listen 12.34.56.78:80
#Listen 80
Listen 8080

  Then while you are in httpd.conf also if you don't have a registerd domain name change the following:
   
  # If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80
ServerName YOUR EXTERNAL IP:NewPortNumber
  ServerName 81.227.242.105:8080
   
  now save httpd.conf and restart your httpd and give it a try
   
  oh and on your router make sure that port 8080 or whatever you choose is open and if forwarding requests to your internal IP address where you apache is installed which i assume 192.168.1.33
   
  also, depending on you what linux u r using make sure that the firewall is alloing http requests to go through
   
  now to access your server from the outside you type 
  http://YourExternalIP:NewPort#
  http://81.227.242.105:8080
   
  Good luck
  


Nils-Börje Eklöf <ni...@telia.com> wrote:
  Hope someone can consider this question

When getting Apache 2.2 up and running, and doing well on the local LAN
I would like to access it remotely. BUT it does not work :-(
Errormessage in the browser is "can't find host or DNS-failure"

1. I have checked all possible problem by turning off Norton Antivirus
and such stuff...
2. I have linked all the incoming traffic on port 80 in the firewall to
my local webhost. Even switched the firewall off. 
3. I do not understand what the configure is saying in the part belove.
This are the settings at the moment: 

# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
# ServerAdmin webmaster@somenet.com # I do not have any own domain
# ServerAdmin nisse_b@telia.com # My email, but an error message comes
up when staring up the server when this is switched on

# ServerName gives the name and port that the server uses to identify
itself.
# This can often be determined automatically, but we recommend you
specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address
here.
# ServerName www.somenet.com:80
# ServerName 81.227.242.105:80 # My remote IP
ServerName 192.168.1.33:80 # This is my local host IP. The other
alternatives does not help to get remote access as well...
# ServerName localhost:80
# ServerName 192.168.1.1:80

Is there any other settings I should consider like Virtual host? Please
give me a hit how I should do.

Thanks

/Nils




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
		
---------------------------------
Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.

[users@httpd] Next Newbee Question - Can´t access host from outside firewall...

Posted by Nils-Börje Eklöf <ni...@telia.com>.
Hope someone can consider this question

When getting Apache 2.2 up and running, and doing well on the local LAN
I would like to access it remotely. BUT it does not work :-(
Errormessage in the browser is "can't find host or DNS-failure"

1. I have checked all possible problem by turning off Norton Antivirus
and such stuff...
2. I have linked all the incoming traffic on port 80 in the firewall to
my local webhost. Even switched the firewall off. 
3. I do not understand what the configure is saying in the part belove.
This are the settings at the moment: 

# ServerAdmin: Your address, where problems with the server should be
# e-mailed.  This address appears on some server-generated pages, such
# as error documents.  e.g. admin@your-domain.com
# ServerAdmin webmaster@somenet.com # I do not have any own domain
# ServerAdmin nisse_b@telia.com # My email, but an error message comes
up when staring up the server when this is switched on

# ServerName gives the name and port that the server uses to identify
itself.
# This can often be determined automatically, but we recommend you
specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address
here.
# ServerName www.somenet.com:80
# ServerName 81.227.242.105:80 # My remote IP
ServerName 192.168.1.33:80 # This is my local host IP. The other
alternatives does not help to get remote access as well...
# ServerName localhost:80
# ServerName 192.168.1.1:80

Is there any other settings I should consider like Virtual host? Please
give me a hit how I should do.

Thanks

/Nils




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Newbee Manual for Apache on Windows XP

Posted by Roger <ro...@mirasol.co.za>.
Use the *.msi for the installtion. Dont worry about all the other zip
files. They will just waste your time, but it would be interesting to
learn what they are about.

On Sat, 2006-05-06 at 12:00 -0500, William A. Rowe, Jr. wrote:
> Nils-Börje Eklöf wrote:
> > I am running a Widows XP pro system and trying to set up a webserver.
> > 
> > I have downloaded these files 
> > apache_2.2.2-win32-x86-no_ssl.msi
> 
> ok, why these below?
> 
> > apache_2.2.2-win32-x86-symbols.zip
> > httpd-2.2.2-win32-src.zip
> > httpd-2.2.2-win32-src.zip.asc.txt
> > httpd-2.2.2-win32-src.zip.md5.txt
> > 
> > The installing of the msi file was successful and I can access the 
> > server via 
> > C:/.../htdocs  where i find the index.html location. 
> 
> Great!
> 
> > Where do I put the unzipped files from the downloads I list above. 
> 
> Anywhere you like.
> 
> > What are they doing?
> 
> Telling you how the code was written and compiled for crash debugging.  You
> probably won't need them, I'm wondering why you ignored README in the
> windows download location (http://www.apache.org/dist/httpd/binaries/win32/)
> 
> > How can I move my default http-directory to D:?
> 
> Switch the <Directory "c:/.../htdocs"> and DocumentRoot c:/.../htdocs
> (whereever ... is) to somewhere over on d:/ by editing your conf/httpd.conf
> file.
> 
> > Where do I find a manual for rockies that is written for XP-users (I 
> > find most of the helpmanuals to go to deep into what to me seems to be 
> > UNIX-stuff. Makes no sense for me...)
> 
> Sure it does, if you just remember that d:/files/web/ for example is just
> the same as d:\files\web - but that Apache wants configurations to use forward
> slashes (backslashes mean something special) and you put drive letters in.
> 
> Special windows-specific differences are all covered here and here...
> 
> http://httpd.apache.org/docs/2.2/platform/windows.html
> http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html
> 
> > So - can anyone help a newbee to run Apache on XP?
> 
> Something big changed in 2.2 - most of the configuration sections are optional,
> included in conf/httpd.conf from the conf/extras/ collection of feature configs.
> Check them out.
> 
> Sounds like you are making progress!  See any of the beginners guides, getting
> started with Apache, there are several good books out there too.  Don't just
> say you can't understand the unix examples, or you leave yourself without alot
> of good ideas.  If you drop into the Dublin ApacheCon late June, I'm presenting
> getting started with Apache 2 on Windows on Friday a.m.
> 
> http://www.apachecon.com/
> 
> Bill
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Newbee Manual for Apache on Windows XP

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Nils-Börje Eklöf wrote:
> I am running a Widows XP pro system and trying to set up a webserver.
> 
> I have downloaded these files 
> apache_2.2.2-win32-x86-no_ssl.msi

ok, why these below?

> apache_2.2.2-win32-x86-symbols.zip
> httpd-2.2.2-win32-src.zip
> httpd-2.2.2-win32-src.zip.asc.txt
> httpd-2.2.2-win32-src.zip.md5.txt
> 
> The installing of the msi file was successful and I can access the 
> server via 
> C:/.../htdocs  where i find the index.html location. 

Great!

> Where do I put the unzipped files from the downloads I list above. 

Anywhere you like.

> What are they doing?

Telling you how the code was written and compiled for crash debugging.  You
probably won't need them, I'm wondering why you ignored README in the
windows download location (http://www.apache.org/dist/httpd/binaries/win32/)

> How can I move my default http-directory to D:?

Switch the <Directory "c:/.../htdocs"> and DocumentRoot c:/.../htdocs
(whereever ... is) to somewhere over on d:/ by editing your conf/httpd.conf
file.

> Where do I find a manual for rockies that is written for XP-users (I 
> find most of the helpmanuals to go to deep into what to me seems to be 
> UNIX-stuff. Makes no sense for me...)

Sure it does, if you just remember that d:/files/web/ for example is just
the same as d:\files\web - but that Apache wants configurations to use forward
slashes (backslashes mean something special) and you put drive letters in.

Special windows-specific differences are all covered here and here...

http://httpd.apache.org/docs/2.2/platform/windows.html
http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html

> So - can anyone help a newbee to run Apache on XP?

Something big changed in 2.2 - most of the configuration sections are optional,
included in conf/httpd.conf from the conf/extras/ collection of feature configs.
Check them out.

Sounds like you are making progress!  See any of the beginners guides, getting
started with Apache, there are several good books out there too.  Don't just
say you can't understand the unix examples, or you leave yourself without alot
of good ideas.  If you drop into the Dublin ApacheCon late June, I'm presenting
getting started with Apache 2 on Windows on Friday a.m.

http://www.apachecon.com/

Bill


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org