Page 1 of 1

Apache redirect webpage

PostPosted: 07. September 2011 11:49
by Renato99
How do I configure Apache to repoint a url of say http://<servername>:8088 to a default one (e.g. http://<servername>:8088/Login/)
Do I need to make a change in /etc/httpd/conf.d or /etc/httpd/conf

Re: Apache redirect webpage

PostPosted: 15. September 2011 14:58
by glitzi85
You can use RedirectMatch in your VirtualHosts-Block

Code: Select all
RedirectMatch ^$ http://example.com/Login/


You have to load mod_alias to make this work.

In which file you have to add it is depending on your Operating System and/or configuration.

glitzi