Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

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.

left Zymic Webmaster ForumsZymic Free Web HostingZymic Free Web Hosting - General Discussion & Help right
  Closed Topic Start new topic
left right
Jamesking56
post 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?
Go to the top of the page 
 
  + Quote Post
lawny
post Apr 16 2009, 05:42 PM
Post #2


Member
**

Group: Members
Posts: 93
Joined: 4-March 09
From: UK
Member No.: 85,079



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
Go to the top of the page 
 
  + Quote Post
Ed
post 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.
Go to the top of the page 
 
  + Quote Post
lawny
post 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
Go to the top of the page 
 
  + Quote Post
 Closed Topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 22nd May 2013 - 03:10 AM