Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

This is can be created by create creating a ".htaccess" file that contains:

...

No Format
htdocs/siteA/index.html
htdocs/siteA/.htaccess

Create "2"

...

RedirectMatch

This is can be created by create creating a ".htaccess" file that contains:

No Format
RewriteEngine On
RewriteRuleRedirectMatch .* http://siteB.cornell.edu/url2

The ".htaccess" should be placed in the "DocumentRoot" of the site. This is typically the same directory that would contain the "index.html", "index.cfm", "index.php", etc... that contains the content of http://siteA.cornell.edu/.  Not all webdav clients (i.e. Windows 7 folders) support modifying ".htaccess" files, it may be necessary to use a client like BitKinex or Cyber Duck that allows ones to modify ".htaccess" files (this is a limitation of the client program).  A workaround for using Windows 7 folders can be found at: http://www.techpavan.com/2009/01/16/create-htaccess-windows/

For example:

No Format
htdocs/siteA/index.html
htdocs/siteA/.htaccess

...