title: Many RewriteBase in one .htaccess file?
body: <p>I have a domain and a wordpress-blog on same server. Now I have a problem (surprise). The wordpress is located on /httpdocs/blog/ and domain is pointing to /httpdocs/ and I'm trying to redirect it to /httpdocs/domain/. But, obvisiously, I have permalinks in Wordpress.</p>
  
  <p>Here's my current .htaccess:</p>
  
  <pre><code>RewriteEngine On
  
  RewriteBase /blog/
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /blog/index.php [L]
  
  RewriteBase /
  RewriteCond %{HTTP_HOST} domain.com
  RewriteCond %{REQUEST_URI} !^/domain
  RewriteCond %{REQUEST_URI} !^/cgi-bin
  RewriteRule ^(.*)$ domain/$1 [L]
  </code></pre>
  
  <p>But as you already propably assumed, this doesn't work. Wordpress' permalinks affects to /domain/ also, so my images and other urls go wrong.</p>
  
  <p>Any advice? Is it possible to use RewriteBase like this?</p>