View previous topic :: View next topic |
Author |
Message |
meulie l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/18174326125cdc051bf3010.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
gimpel Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/129086950243c7024511c31.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
meulie l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/18174326125cdc051bf3010.jpg)
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 ![Smile :-)](images/smiles/icon_smile.gif) _________________ Greetz,
Evert Meulie |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|