Welcome to WebmasterWorld Guest from 54.226.60.235

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Rewrite rule

     

Legolas

7:51 pm on Jan 11, 2003 (gmt 0)

10+ Year Member



I need some help doing a rewrite for my apache 1.3x server..

Here's the scenario:

I'd like all traffic from:

[domain.com...] (where '*' is a wildcard to capture any hit on that directory)

to go to:

[domain.com...]

basically, I'd like to have any request that would have been directed to the /cgi-bin/boards dir. redirected to the new URL and page.

So, something like:

[domain.com...]

should redirect to:

[domain.com...]

Thanks in advance!

Legolas

andreasfriedrich

11:52 pm on Jan 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld [webmasterworld.com] Legolas.

Be sure to read Marcia`s WebmasterWorld Welcome and Guide to the Basics [webmasterworld.com] post which contains a lot of very helpful information on how things are dome at WebmasterWorld.

Have a look at An Introduction to Redirecting URLs on an Apache Server [webmasterworld.com] to get you started on how to do URL rewriting using mod_rewrite. These fora contain an extensive number of examples of the thing you want to do. Use the site search [searchengineworld.com] to look for relevant threads.

Hope this helps.

Andreas

 

Featured Threads

Hot Threads This Week

Hot Threads This Month