Preserved Topic: redirect via .htaccess |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Berlin, Germany |
posted 06-25-2002 22:48
How can i redirect from / to /test |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 06-25-2002 23:24
I think that you need to specify full URL where you want to redirect (according to documentation): |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 06-26-2002 17:18
im interested, do i have to put anything else in the htaccess file? or just this single line? cause it didnt work out for me! |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-26-2002 19:55
Actually, it should be |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 06-26-2002 22:46
Nope, Pugzly, that's not completely true. RedirectPermanent is just an alias for Redirect directive, which *can* be written as I wrote above... |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-27-2002 05:20 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 06-27-2002 10:41
but dont you have to configure the httpd.conf to allow these kinds of directives? |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-27-2002 14:47 |