Web Hosting Talk







View Full Version : .htaccess to foward http://www.d.com to d.com/test ?


Apocalypse
04-14-2003, 02:51 PM
Ok, i need to redirect my domain / (http://www.domain.com/) to a subfolder (http://www.domain.com/test) i know i can do this using html, but i want to do it using .htaccess :p

i currently have this:

Redirect permanent / http://www.d.com/nuke/index.php

This results in this:

http://www.d.com/nuke/nuke/nuke(and like 100 more /nuke) obviously giving me an server error.

I get the same results with:

Redirect permanent http://www.d.com/ http://www.d.com/nuke/

If someone know how to solve this please let me know,

TIA,

Apocalypse.

chuckt101
04-14-2003, 04:35 PM
Redirect /index.html http://www.d.com/nuke/index.php

Apocalypse
04-15-2003, 01:44 AM
Thank you very much :D