View Single Post
  #8  
Old 04-25-2009, 07:42 AM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
just looked up apache document:
http://httpd.apache.org/docs/trunk/r...ite_intro.html

"The main difference with per-server rewrites is that the path prefix of the directory containing the .htaccess file is stripped before matching in the RewriteRule"

so there's difference for per-server and per-directory rewrite rule.
(just know it )

the one line RewriteRule in my last post works for per-server rewrite.
the per-directory version is
Code:
RewriteRule ^$  http://domain.com/cubecart/index.php [L]
tested on my box, it's working in .htaccess
Reply With Quote