I am still quite a newbie with Apache and its configurations and had an issue with my web server where I am serving Redmine a ruby application and also static content.
Apache 2.2
Currently have the following proxies set up:
ProxyPass /portal https://mypage.domain.com:8181/portal
ProxyPassReverse /portal https://mypage.domain.com:8181/portal
ProxyPass /examples http://mypage.domain.com:8555/portal
ProxyPassReverse /examples http://mypage.domain.com:8555/portal
ProxyPass / balancer://redmine_cluster/
ProxyPassReverse / balancer://redmine_cluster/
<Proxy balancer://redmine_cluster>
BalancerMember http://REDMINEMACHINENAME:3000/
</Proxy>
DocumentRoot "X:/app/Redmine/public"
<Directory "X:/app/Redmine/public">
Require all granted
Options -MultiViews
</Directory>
RequestHeader set X-Forwarded-Proto "https"
When trying to access:
Redmine:
mypage.domain.com
it takes me to Redmine. Good.
/portal:
mypage.domain.com/portal
it fails
Not Found The requested URL /portal/ was not found on this server.
WEB.SERVER.ADDRESS - - [09/Oct/2015:16:14:15 -0700] "GET /portal/ HTTP/1.1" 404 207
MY.IP.ADDRESS - - [09/Oct/2015:16:14:15 -0700] "GET /portal/ HTTP/1.1" 404 207
/examples
mypage.domain.com/examples
MY.IP.ADDRESS - - [09/Oct/2015:16:10:11 -0700] "GET /examples/ HTTP/1.1" 200 1285
works
Is it possible to get Apache configured so that I can use
mypage.domain.com
mypage.domain.com/portal
mypage.domain.com/examples
to get to all the places I need to get to? How?
Any suggestions on a better fitting title?