There is one apache server and there are four weblogic node behind the apache server. Clients call apache servers; example.com/ADZ , example.com/media , example.com
Clients want that when they call only empty url example.com they want to access example.com/ADZ Could you help me please.
This is may configuration.
<IfModule mod_weblogic.c>
WebLogicCluster wls1:7003,wls1:7005,wls2:7003,wls2:7005
</IfModule>
RewriteEngine on
RewriteRule ^(.*) /ADZ [R]
<Location /ADZ>
SetHandler weblogic-handler
</Location>
<Location /media>
SetHandler weblogic-handler
</Location>
when they call only empty url example.com they want to access example.com/ADZ
Use this rule:
RewriteEngine On
RewriteRule ^/?$ /ADZ [L,R]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.