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

[users@httpd] Domain level subdirectories needed

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 ^(.*)$ [R=301,L]


<VirtualHost *:443>

    <Proxy *>
        Order deny,allow
        Allow from all

    SSLEngine On
    SSLProxyEngine On
    SSLCertificateFile /etc/apache2/ssl/
    SSLCertificateKeyFile /etc/apache2/ssl/
<Location "/groups/">
#RewriteRule ^/groups/(.*) /$1 [P,R]
RewriteCond %{REQUEST_URI} ^/groups/index.html
RewriteRule ^/groups/?$ [P,L]

    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass /
    ProxyPassReverse /

RewriteCond !^/aries/
RewriteRule ^(.*)$ /$1 [L]

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

The request doesn't seems to the destination container on and


The domain name should be same for all of them.