Re: [users@httpd] howto configure apache to serve requests without explicitly defining a port number in the URL

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

 



Harish.Chakravarthy@xxxxxxxx wrote:

Hi Everyone,

I would appreciate any information on configuring apache to run on a non standard port, however serving requests without explicitly defining the port number in the URL. Example: 1. If I run apache on port 7894 hosting mydomain.org 2. I should be able visit http://mydomain.org to see my site (instead of http://mydomain.org:7894) Does this also require any coordination with firewall rules,iptables, etc ?. Any information is appreciated. Running Apache 2.0.X on Solaris 8
Cheers
-Harish
---------------------------------------------------------------------
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

I'm not sure you can do what you want.

http://mydomain.org:7894

is an instruction to the browser to connect on port 7894 to your system.
You can redirect from port 80 to 7894 using xinet. The following would do it but you'd
still have your machine listening for http on port 80 so it's pointless. You'd define rpssh in /etc/services.


service rpssh
{
       socket_type             = stream
       wait                    = no
       user                    = root
       log_on_success  += HOST DURATION
       log_on_failure  += HOST
       disable                 = no
       redirect                = 127.0.0.1 7894
}



---------------------------------------------------------------------
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