Rewrite Problem fixed for 3 Python apps
$15 USD
Betalt ved levering
There are three application both running by python on ubuntu 14.4. they are visible as below link
IP:8181 (headphones)
IP:8081 (sickbeard)
IP:5050 (couchpotato)
i have also installed HTTPS on that server.
[url removed, login to view]
But i want to rewrite above three site in the bellow way
same IP/couchpotato -- this is working only
same IP/sickbeard -- Not working
same IP/headphones -- not working
when i want to view /sickbeard or /headphones it allways comes couchpotato page.
help me any one to solve this??
Apache config is as below --
<VirtualHost *:443>
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/[url removed, login to view]
SSLCertificateKeyFile /etc/apache2/ssl/[url removed, login to view]
SSLCertificateChainFile /etc/apache2/ssl/[url removed, login to view]
</VirtualHost>
<VirtualHost *:443>
ServerName [url removed, login to view]
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/[url removed, login to view]
SSLCertificateKeyFile /etc/apache2/ssl/[url removed, login to view]
SSLCertificateChainFile /etc/apache2/ssl/[url removed, login to view]
RewriteEngine On
RewriteRule ^/(.*) localhost:5050/$1 [L,P]
ProxyPreserveHost on
# RequestHeader add X-Vhm-Root /couchpotato
</VirtualHost>
<VirtualHost *:443>
ServerName [url removed, login to view]
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/[url removed, login to view]
SSLCertificateKeyFile /etc/apache2/ssl/[url removed, login to view]
SSLCertificateChainFile /etc/apache2/ssl/[url removed, login to view]
RewriteEngine On
RewriteRule ^/(.*) localhost:8081/$1 [L,P]
ProxyPreserveHost on
# RequestHeader add X-Vhm-Root /sickbeard
</VirtualHost>
Before start pls ans this into your propsal
what is the full meaning of following line -
RewriteRule ^/(.*) http://127.0.0.1:5050/$1 [L,P]
Projekt ID: #8033003
Om projektet
4 freelancere byder i gennemsnit $26 timen for dette job
You know me, I can do it but fnot r $15 blahblahnlahc 100 char please !!! You know me, I can do it but fnot r $15 blahblahnlahc 100 char please !!!
I have already spotted the problem. Plain and simple! The thing is, I might be able to suggest to you some tweaks as well to the rewrite rule. Thanks.. -- Best Wishes --