Apache 2.4 Redirect loop

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

 



Hello guys,

Iâ??ve configured virtual host as named-base for multiple domains on one IP public, all works fine but on one domain I have to use redirect but it didnâ??t works because it goes in loop, this is my conf:

 

<VirtualHost *:80>

    DocumentRoot "C:/Web/Tomcat/webapps/SITE2"

    DirectoryIndex index.htm index.html

    ServerName test.site2.com

    ServerAlias *. site2.com

   Redirect / http://test.site2.com/SITE2

 

                Alias /SITE2 "C:/Web/Tomcat/webapps/SITE2"

 

                <Directory "C:/Web/Tomcat/webapps/SITE2/">

                Options FollowSymLinks Includes

                AllowOverride All

                Require all granted

                </Directory>

                <Location "/SITE2/WEB-INF/">

                                Require all denied

                </Location>

JkMount /SITE2/servlet/* ajp13

JkMount /SITE2/*.jsp ajp13

</VirtualHost>

 

When I hit http://test.site2.com   I would redirect to http://test.site2.com/SITE2  but instead of this it goes in loop as follow:  http://test.site2.com/SITE2SITE2SITE2SITE2.....

 

Someone can hep me?

I donâ??t want to use mod_rewite so I ask you if there is a method for get my aim.

 

Thanks very much

Andrew

 

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux