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

[users@httpd] Re: Domain level subdirectories needed

Currently the requests are not passing through, hence would request your help on this.

Please suggest.


On Tue, Apr 17, 2018 at 5:09 PM, Pankaj Singh <panks00@xxxxxxxxx> wrote:
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]


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

    <Proxy *>
        Order deny,allow
        Allow from all

    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]
RewriteCond %{REQUEST_URI} ^/groups/index.html
RewriteRule ^/groups/?$ [P,L]

    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass /
    ProxyPassReverse /

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 and

The domain name should be same for all of them.