PDA

View Full Version : Redirects



s0ct0j0c
31-01-2011, 07:21 PM
Hôm qua mình thử chỉnh Redirects link có sẵn trong cpal sau đó nó có hiện cái lỗi gì đó .htaccess ,sau đó vào admincp thì nó hiện cái này ở khung bên trái

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@1st-vnclub.tk and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Chuyện gì đạ xảy ra :MatCuoi (8):

Tiểu Bá Vương 1404
31-01-2011, 07:23 PM
Bạn hãy làm lại từ cuối về đầu theo những gì bạn thực hiện, nếu không, bạn hãy nói thao tác để mình xem.

hanhkhat
31-01-2011, 11:04 PM
xóa cái redirect trong cpanel đi là được

s0ct0j0c
01-02-2011, 12:53 PM
thử cả 2 cách trên BÓ TAY các bác ạ pác nào còn dư file .htaccess cho xin replace thử coi được không :MatCuoi (12):

New-Mem
01-02-2011, 01:12 PM
chắc là do .htaccess xóa đi bạn ạ,

P/s: mà file .htaccess của bạn như thế nào thử post lên xem

s0ct0j0c
02-02-2011, 12:37 PM
RewriteEngine on

RewriteCond %{HTTP_HOST} ^1st-vnclub.tk$ [OR]
RewriteCond %{HTTP_HOST} ^www.1st-vnclub.tk$
RewriteRule ^/?$ "http\:\/\/1st\-vnclub\.tk\/index\/home\.php" [R=301,L]

không biết có phải do host ko nhưng mình down về chạy trên localhost thì vào được
test = wamp server