View previous topic :: View next topic |
Author |
Message |
meulie l33t
Joined: 17 Jun 2003 Posts: 845 Location: a Dutchman living in Norway
|
Posted: Fri Dec 19, 2008 11:00 am Post subject: a simple Apache redirect? |
|
|
It should be so simple, but I can't get it to work...
All I need is a redirect which sends people heading for http://www.meulie.net/portal_plugins/forum/[whatever] to http://different.domain.com/
I tried
Code: | Redirect /portal_plugins/forum/* http://different.domain.com/ |
But that doesn't seem to do the trick... _________________ Greetz,
Evert Meulie |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Fri Dec 19, 2008 11:10 am Post subject: |
|
|
It should work without the wildcard and trailing slash(es). And I guess you want it as a permanent redirect.
Code: | Redirect permanent /portal_plugins/forum http://different.domain.com |
Of course you need mod_alias to be enabled. And it should be put at a correct place in the config.
http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
meulie l33t
Joined: 17 Jun 2003 Posts: 845 Location: a Dutchman living in Norway
|
Posted: Fri Dec 19, 2008 11:52 am Post subject: |
|
|
Looks like I had forgotten a AllowOverride All...
Now it works like a charm. Thanks for the help _________________ Greetz,
Evert Meulie |
|
Back to top |
|
|
|