Home » Questions » Computers [ Ask a new question ]

How can I create a redirect for Apache 2.2 webserver on Windows-7

How can I create a redirect for Apache 2.2 webserver on Windows-7

I'd like to have a redirection web page from one page to another so that I can have two names for the same web page on my server. I tried creating a windows shortcut, but that did not work. Please suggest how to have one page be a pointer to another.

Asked by: Guest | Views: 250
Total answers/comments: 1
Guest [Entry]

"This is what I ended up doing in my virtual host section of the configuration file:

<VirtualHost *:80>
DocumentRoot ""C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\myDocs""
ServerName www.domain.com
Redirect /index.html http://www.domain.com/anotherLocation
</VirtualHost>"