Thanks & Regards,
JayaramServerRoot "/apps/apache2.4" Listen 80 <IfModule unixd_module> User daemon Group daemon </IfModule> ServerName stg.test DocumentRoot "/apps/apache2.4/htdocs" <Directory /> Options FollowSymLinks AllowOverride All Require all granted </Directory> <Directory "/apps/apache2.4/htdocs"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <IfModule dir_module> DirectoryIndex index.html </IfModule> <FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All </FilesMatch> ErrorLog "logs/error_log" LogLevel info <IfModule alias_module> ScriptAlias /cgi-bin/ "/opt/apps/apache/cgi-bin/" </IfModule> <Directory "/opt/apps/apache/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> Include conf/stg/stg.conf
<VirtualHost *:80> ServerName stg.test.com ErrorLog logs/http_error.log <Location /server-status> SetHandler server-status Order allow,deny Allow from all </Location> RewriteEngine on # Requests from local machines can go through HTTP. Other # requests have to go through HTTPS RewriteCond %{REMOTE_ADDR} <<IP ADDRESS>> RewriteRule ^/+$ /sites/ [R,L] DocumentRoot "/apps/apache2" <Directory "/" > AllowOverride None Require all granted </Directory> Alias /file_system /opt/apache2/file_system Alias /sf /opt/apache2/file_system <Directory /opt/apache2/file_system> AllowOverride None Require all granted </Directory> # ******************************************************************************************************************* RewriteRule ^/about(.*) /sites/en_US/about$1 [P] RewriteRule /es/about(.*) /sites/es_AR/about$1 [P] RewriteRule ^/core(.*) /sites/en_US/core$1 [P] RewriteRule ^/es/core(.*) /sites/es_AR/core$1 [P] RewriteRule ^/newsroom(.*) /sites/en_US/about/newsroom$1 [P] RewriteRule ^/es/newsroom(.*) /sites/es_AR/about/newsroom$1 [P] RewriteRule ^/events(.*) /sites/en_US/about/events$1 [P] RewriteRule ^/es/events(.*) /sites/es_AR/about/events$1 [P] RewriteRule ^/search(.*) /sites/en_US/about/search$1 [P] RewriteRule /es/(.*) /sites/es_AR/$1 [P] RewriteRule ^/conf(.*) /sites/en_US/conf$1 [P] RewriteRule ^/es/conf(.*) /sites/es_AR/conf$1 [P] RewriteRule ^/alu(.*) /sites/en_US/alu$1 [P] RewriteRule ^/es/alu(.*) /sites/es_AR/alu$1 [P] RewriteRule ^/program(.*) /sites/en_US/program$1 [P] RewriteRule ^/es/program(.*) /sites/es_AR/program$1 [P] RewriteRule ^/404(.*) /sites/en_US/404$1 [P] RewriteRule ^/es/404(.*) /sites/es_AR/404$1 [P] <IfModule rewrite_module> Options +FollowSymlinks RewriteEngine On RewriteOptions Inherit </IfModule> JkMount /* stg_live_svr JkUnMount /sf/* stg_live_svr JkUnMount /file_system/* stg_live_svr JkOptions +ForwardURICompatUnparsed </VirtualHost>
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx