Domain level subdirectories needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Team,

We need to append multiple subdirectories and the content should be serve from some other container where we proxied the request.

<VirtualHost *:80>
    <Proxy *>
        Order deny,allow
        Allow from all
        RewriteEngine On
        RewriteRule ^(.*)$ https://domain.example.com [R=301,L]
    </Proxy>

</VirtualHost>

<VirtualHost *:443>
    ServerName domain.example.com

    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>

    SSLEngine On
    SSLProxyEngine On
    SSLCertificateFile /etc/apache2/ssl/speedy.marriott.com.crt
    SSLCertificateKeyFile /etc/apache2/ssl/speedy.marriott.com.key
<Location "/groups/">
#RewriteRule ^/groups/(.*) /$1 [P,R]
#ProxyPass   http://10.224.222.15:29956/
#</Location>
RewriteCond %{REQUEST_URI} ^/groups/index.html
RewriteRule ^/groups/?$ http://10.224.222.15:29956/ [P,L]

    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass / http://10.224.222.15:29956/
    ProxyPassReverse / http://10.224.222.15:29956/
</Location>
</VirtualHost>

RewriteCond https://speedy.marriott.com:29290 !^/aries/
RewriteRule ^(.*)$ /$1 [L]

location /webinterface {
  rewrite ^/webinterface(/.*)$ $1 break;
  proxy_pass https://XXXXXXXX:XXXXX;


The request doesn't seems to passthrough.to the destination container on  10.224.222.15:2995610.224.222.15:29957 and  10.224.222.15:29958

URL: http://domain.example.com/group1
http://domain.example.com/group2
http://domain.example.com/group3

The domain name should be same for all of them.

Thanks
Pankaj


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux