I have a vhost name example.conf
that contains below lines.
<VirtualHost *:80>
ServerName example.com
ServerAdmin admin@myhost.com
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined
CustomLog /var/log/httpd/app1_access.log combined
ErrorLog /var/log/httpd/app1_error.log
redirect / http://example.com/jenkins
DirectoryIndex index.html index.php
JkMount /jenkins/* failover
JkMount /jenkins failover
</VirtualHost>
I want, if anyone hits http://example.com
then it should open http://example.com/jenkins
My URL is redirecting to
http://example.com/jenkinsjenkinsjenkinsjenkinsjenkinsjenkinsjenkinsjenkinsjenkinsjenkinsjenkinsjenkinsjenkinsjenkinsjenkinsjenkinsjenkins
Like this.
It is Jenkins on tomcat with apache web server. Any help would be much appreciated.