ipasserelle-userpanel/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/UserManagerVirtualHost/50Content

19 lines
392 B
Plaintext

{
$OUT .=<<"EOF";
ProxyPreserveHost on
RewriteEngine on
RewriteRule (^/(user/cgi-bin/.*)|(user-manager(.*)?)|(server-common/.*))\$ http://localhost:980/\$1 [P,L]
RewriteRule ^/phpki(sso)?(/.*)\$ http://localhost:940/phpkisso\$2 [P,L]
<Location />
Order deny,allow
Deny from all
Allow from $localAccess $externalSSLAccess
</Location>
EOF
}