RE: Apache port help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, I have apache set to listen on port 8080. When I type http://intranet:8080 it works but I want my users to just type in http://intranet and apache converts it for them. Its either mod_rewrite or mod_proxy.

thanks

Tim Ford

-----Original Message-----
From: André Warnier [mailto:aw@xxxxxxxxxx] 
Sent: Thursday, March 05, 2009 1:46 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Apache port help

Tim Ford wrote:
> Hello, I am hosting my webpage on port 8080 so the address is
> http://intranet:8080 and you have to type that to get to it. Well I
> would just like it if my users just had to type http://intranet and
> apache will do the rest. I have tried the Rewrite and Proxy but with no
> luck. Could someone please help me out?
> 
Hi.

1) The port on which the webserver listens for requests (8080 presently 
in your case) is entirely configurable on the server side.

2) 80 is the default port for the http protocol, so that when a user 
tries "http://intranet";, it is the same as when they enter 
"http://intranet:80";.

3) in your Apache main configuration file, there is a line that says 
"Listen 8080"
By changing that to "Listen 80", you will change the port Apache is 
listening on, and thus attain your stated goal.

4) but (of course there is one), there can only be one server (program) 
(like Apache) listening on any given port at any given time on the same 
host computer.
It may thus be that some other program is already listening on port 80 
on your host computer, and that this may be the reason why your Apache 
is configured to use port 8080.

If you try changing the Listen configuration line above to port 80, and 
try to restart Apache, and it does not start, then that is probably the 
case.  Try it, and post back here if you still have a problem.


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


This e-mail and any attachments may contain confidential information that is legally privileged. If you received this e-mail in error or are not the intended recipient, you should delete and destroy the e-mail and any attachments or copies;  
you are prohibited from retaining, distributing, disclosing or using any information contained in the e-mail.  Please notify the sender of the erroneous e-mail delivery by return e-mail.  Thank you for your cooperation.



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux