.htaccess Problem! |
||
Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
Zymic Webmaster Forums Zymic Free Web Hosting Zymic Free Web Hosting - General Discussion & Help |
||
![]() |
.htaccess Problem! |
||
Apr 16 2009, 09:48 AM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 6 Joined: 15-April 09 Member No.: 91,466 |
I have made a .htaccess file on my hosting, but it says "500 Internal Server Error!"
It works on my Localhost XAMPP so why don't it work here? .htaccess placed in root folder CODE ## Non-www to www Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^habbking.co.cc [NC] RewriteRule ^(.*)$ http://www.habbking.co.cc/$1 [L,R=301] ## CLOSED order deny, allow deny from all allow from 127.0.0.1 ErrorDocument 403 /closed/index.php Please Help me? |
|
|
Apr 16 2009, 05:42 PM
Post
#2
|
|
|
Member ![]() ![]() Group: Members Posts: 93 Joined: 4-March 09 From: UK Member No.: 85,079 |
I have made a .htaccess file on my hosting, but it says "500 Internal Server Error!" It works on my Localhost XAMPP so why don't it work here? .htaccess placed in root folder CODE ## Non-www to www Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^habbking.co.cc [NC] RewriteRule ^(.*)$ http://www.habbking.co.cc/$1 [L,R=301] ## CLOSED order deny, allow deny from all allow from 127.0.0.1 ErrorDocument 403 /closed/index.php Please Help me? it doesn't work because mod rewrite is disabled |
|
|
Apr 16 2009, 05:51 PM
Post
#3
|
|
![]() Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Administrators Posts: 2,831 Joined: 11-March 07 From: UK Member No.: 9 |
You need to comment out this line:
CODE Options +FollowSymLinks So it becomes: CODE #Options +FollowSymLinks That should be it. |
|
|
Apr 16 2009, 06:08 PM
Post
#4
|
|
|
Member ![]() ![]() Group: Members Posts: 93 Joined: 4-March 09 From: UK Member No.: 85,079 |
i see it has been enabled now because the last time i tried it wouldn't work
|
|
|
![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 25th May 2013 - 12:26 PM |