Skip to content

Commit

Permalink
No need of different RewriteBase for x10hosting. They changed there s…
Browse files Browse the repository at this point in the history
…etting 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/.
  • Loading branch information
siddhant3s committed Jun 25, 2010
1 parent 41ee760 commit 34cffd2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .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 /

This comment has been minimized.

Copy link
@siddhant3s

siddhant3s Jun 25, 2010

Author Owner

Oh shit, by mistake this line is commented. You should remove the # in front of it. It is taken care of in the next commit.


RewriteCond %{REQUEST_URI} (css|js)/[^/]+\.(css|js)$
RewriteRule (css|js)/([^/]+)\.(css|js)$ $1/$2.$3 [L]
Expand Down

0 comments on commit 34cffd2

Please sign in to comment.