homepage Welcome to WebmasterWorld Guest from 54.211.219.178
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Rewrite rule
Legolas




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

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




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved