Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: remove port number from the URL |
|
Author |
|
cpkiran
Joined: 19 May 2015 Posts: 9 Location: Minneapolis,MN
|
Posted: Wed 20 May '15 20:42 Post subject: remove port number from the URL |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Fri 22 May '15 14:22 Post subject: |
|
|
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
|
Posted: Fri 29 May '15 20:13 Post subject: |
|
|
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: 7373 Location: Germany, Next to Hamburg
|
Posted: Sat 30 May '15 20:10 Post subject: |
|
|
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 |
|
|
|
|
|
|