From 34cffd2cc54c0894c14be4f2091341fa1da568ec Mon Sep 17 00:00:00 2001 From: Siddhant Sanyam Date: Fri, 25 Jun 2010 08:16:55 +0530 Subject: [PATCH] No need of different RewriteBase for x10hosting. They changed there setting or so, took me 2hours to figure our what was wrong. The website stopped working. After a lot of drill, I found out that on x10hosting, the RewriteBase should be / regardless if the .htaccess file is in public_html/somedir or than in being public_html/. --- .htaccess | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.htaccess b/.htaccess index 0f7c6f1..49f25f4 100644 --- a/.htaccess +++ b/.htaccess @@ -1,12 +1,6 @@ RewriteEngine on -#Uncomment the next line when on the remote server at X10hosting -#RewriteBase /linkpit - - -#Uncomment the next line when on the local server -RewriteBase / - +#RewriteBase / RewriteCond %{REQUEST_URI} (css|js)/[^/]+\.(css|js)$ RewriteRule (css|js)/([^/]+)\.(css|js)$ $1/$2.$3 [L]