httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pankaj Singh <>
Subject [users@httpd] Domain level subdirectories needed
Date Tue, 17 Apr 2018 11:39:18 GMT
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.


View raw message