Quote:
Originally Posted by bathory
Are you sure that the server listening on port 8090 is actually running?
Also remove the <Location ..> ... </Location> part and restart apache
|
Hi Batory,
yes its working. No I have this in https Virtual Host congiration:
Code:
<IfModule mod_proxy.c>
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPreserveHost On
ProxyRequests off
LogLevel debug
ErrorLog /var/log/httpd/proxyssl_error_log
CustomLog /var/log/httpd/proxyssl_access_log combined
ProxyPass /knowledgeTree http://localhost:8090/knowledgeTree
ProxyPassReverse /knowledgeTree http://localhost:8090/knowledgeTree
#<Location /knowledgeTree/>
#ProxyPass http://127.0.0.1:8090/knowledgeTree
#SetEnv force-proxy-request-1.0 1
#SetEnv proxy-nokeepalive 1
# order allow,deny
# allow from all
#</Location>
</IfModule>
It seems its working first page
https://myserver.com/knowledgeTree
I see login panel.
When I`m trying to log in unfortunately server redirecting me to
http://myserver.com/knowledgeTree/login.php
After change to
https://myserver.com/knowledgeTree/login.php
I can see application.
Why server doesnt want to rewrite URL`s
http://127.0.0.1:8090/knowledgeTree to
https://myserver.com/knowledgeTree/login.php
With applications url everything is fine. Its working without port but only http to https is not rewrited. How to change this Batory ? Do You know ?