logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: remove port number from the URL
Author
cpkiran



Joined: 19 May 2015
Posts: 9
Location: Minneapolis,MN

PostPosted: Wed 20 May '15 20:42    Post subject: remove port number from the URL Reply with quote

I use url http://myurl:8020/ERC to access application and I am able to. But I dont want to use port number in the URL.Would like to access application using http://myurl/ERC . I referred to one of the post and added below entries to httpd.conf file.

ProxyRequests Off
ProxyPass /ERC http://myurl:8020/ERC
ProxyPassReverse /ERC http://myurl:8020/ERC

But I am still not able to access http://myurl/ERC. Am I doing any thing wrong.?

LoadModule entries are enabled and I have restarted apache.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7306
Location: Germany, Next to Hamburg

PostPosted: Fri 22 May '15 14:22    Post subject: Reply with quote

Do you have a vhost on port 80? Is apache listen on port 80 and 8020 ?
Back to top
cpkiran



Joined: 19 May 2015
Posts: 9
Location: Minneapolis,MN

PostPosted: Fri 29 May '15 20:13    Post subject: Reply with quote

No, apache is listening on only port 8020.
Sorry, I was on vacation didn't get a chance to reply.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7306
Location: Germany, Next to Hamburg

PostPosted: Sat 30 May '15 20:10    Post subject: Reply with quote

To get rid of the port number apache has to listen to port 80 and keep the proxy stuff as it is.
Back to top


Reply to topic   Topic: remove port number from the URL View previous topic :: View next topic
Post new topic   Forum Index -> Apache