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.


This belongs on Server Fault. This is a server question, regarding Apache running on the Windows platform.

two names for the same web page on my server

What are you trying to do? Are you trying to have Apache serve http://www.domain.com as well as http://domain.com?

If you are trying to have localhost/a.htm and localhost/b.htm point to c.htm you could try mod_alias or mod_rewrite.

| improve this answer | |

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
| improve this answer | |
  • @WilliamKF - was the correct answer then from taspeotis or from you? Appears as though you answered your own question correctly. You should give yourself credit for that. – Patrick Jan 31 '10 at 2:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.