Re: [us...@httpd] Redirect all requests /BUT/ a given directory/URIs

2010-04-23 Thread Igor Cicimov
You can try this for the first part of the question: RewriteEngine On RewriteCond %{REQUEST_URI} !^/some/directory/path/(.*)$ RewriteRule .* some/other/path/%1 [R,L] I would also suggest you read through mod_rewrite page http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html Igor On Thu, Apr

[us...@httpd] Redirect all requests /BUT/ a given directory/URIs

2010-04-22 Thread Jason Nunnelley
Any of you Apache geniuses know how to .htaccess redirect everything BUT a given directory path? And, I'll add another twist: it's another URL I need to write. So, I need local/page.html to rewrite remote/page.html in every case but local/specified_directory. -- Jason A. Nunnelley +1