Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL without using the port

Status
Not open for further replies.

wsowss

IS-IT--Management
May 15, 2008
8
US
I have a internal webserver runnnning on port 8080, I'm using the URL with the port number to access the site.

How do I access the site without using the port number 8080?

I tried different options in my httpd.conf file..no luck so far..

I have this in my httpd.conf file

<VirtualHost 162.9.10.219:8080>
RewriteEngine on
RewriteCond %{HTTP_HOST} !^webpd [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{SERVER_PORT} !^8080$
RewriteRule ^/(.*)$ [C,L,R=301]
</VirtualHost>

Any help would be really apreciated.

Thanks
 
If port 80 is being blocked by your isp, there is nothing you can do on apache's end. You will need to use a pointer service like dns2go or dyndns.
 
Is that the reason one is disallowed from port 80?

Anyway, rewrite rules in this case can only redirect or rewrite the path. In other words, you would be able to redirect to port 80, but if it is blocked that is far as you can go.
 
Thanks for the respone. The port 80 is being used by another process...
 
Is it the apache? If it is running named based virtual hosting, you can share port 80. (but you can only have 1 SSL site bound to 80).

 
It is not apache. It is some other process owned by quest product.
 
That's a good idea. I will try that. Thanks for your response.

 
One thing you might have to watch out...you have to bind to the specific IP and not the wildcard *. I believe if the other app is bound to *:80, you can bind to the more specific A.B.C.D:80 and get packets bound for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top