Re: rewrite rule .htaccess

This is a discussion on Re: rewrite rule .htaccess within the Linux Web Servers forums, part of the Web Server and Related Forums category; [ Darren ] > I've moved a domain from FOO.com to FOO.org > > I'd like to permanently ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-12-2006
Kenneth Svee
 
Posts: n/a
Default Re: rewrite rule .htaccess

[ Darren ]

> I've moved a domain from FOO.com to FOO.org
>
> I'd like to permanently redirect everything apart from two directory
> and two files. What do I need in .htaccess for this ? I can redirect
> specific files and directories, but I can't redirect everything AND
> make the odd exclusion.


Check out the docs for mod_rewrite:

http://httpd.apache.org/docs/2.2/misc/rewriteguide.html


Rgds,
Kenneth Svee
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0