Help - Search - Members - Calendar
Full Version: .htaccess Problem!
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
Jamesking56
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?
lawny
QUOTE(Jamesking56 @ Apr 16 2009, 09:48 AM) *
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
Ed
You need to comment out this line:

CODE
Options +FollowSymLinks


So it becomes:
CODE
#Options +FollowSymLinks


That should be it.
lawny
i see it has been enabled now because the last time i tried it wouldn't work
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.