Hỏi Sửa file .htaccess

  • Thread starter Thread starter GiaLanh
  • Start date Start date
G

GiaLanh

New Member
Ai hướng dẫn mình sửa với. Cứ thêm 1 cái là lỗi 500 luôn .
 
Title này anh tưởng em HD, lần sau thêm từ xin giúp anh

----------> Bổ sung bài viết lúc 19:34 <----------> Bài viết trước lúc 19:33 <----------

Em tìm có hàm php_flag thì del đi
 
Không thấy đâu hết anh à. Tile có chữ hỏi mà anh

----------> Bổ sung bài viết lúc 20:01 <----------> Bài viết trước lúc 20:00 <----------

RewriteEngine On
RewriteRule ^index.html$ /index.php
RewriteRule ^tags$ /tags.php
RewriteRule ^sitemap.xml$ /sitemap.php
RewriteRule ^top-like.html$ /vtop.php?thich
RewriteRule ^top-download.html$ /vtop.php?down
RewriteRule ^top-view.html$ /vtop.php?view
RewriteRule ^theloai.html$ /theloai.php
RewriteRule ^download-([0-9]+).html$ /down.php?id=$1
RewriteRule ^trang-([0-9]+).html$ /index.php?p=$1
RewriteRule ^cap([0-9]+).gif$ /captcha.php
RewriteRule ^([0-9]+)-(.*).html$ /xem.php?url=$2&id=$1
RewriteRule ^tags/p([0-9]+)_(.*).html$ /tags.php?url=$2&p=$1
RewriteRule ^tags/(.*).html$ /tags.php?url=$1
RewriteRule ^like([0-9]+)-(.*).html$ /xem.php?url=$2&id=$1&like
RewriteRule ^dlike([0-9]+)-(.*).html$ /xem.php?url=$2&id=$1&dlike
RewriteRule ^comment/p([0-9]+)_([0-9]+)_(.*).html$ /comment.php?url=$3&id=$2&p=$1
RewriteRule ^comment/del([0-9]+)_([0-9]+)_(.*).html$ /comment.php?id=$2&url=$3&delpost=$1
RewriteRule ^comment/smi([0-9]+)-(.*).html$ /comment.php?id=$1&url=$2&smi
RewriteRule ^comment/([0-9]+)-(.*).html$ /comment.php?url=$2&id=$1
RewriteRule ^share/([0-9]+)-(.*).html$ /share.php?url=$2&id=$1
RewriteRule ^m([0-9]+)_(.*).html$ /theloai.php?url=$2&id=$1
RewriteRule ^p([0-9]+)_([0-9]+)_(.*).html$ /theloai.php?url=$3&id=$2&p=$1
RewriteRule ^tags-([0-9]+).html$ /tags.php?p=$1
RewriteRule ^files/(.*)/(.*)$ /data/$2
ErrorDocument 404 http://tuyetlanh.info/index.html
ErrorDocument 403 http://tuyetlanh.info/index.html
ErrorDocument 500 http://tuyetlanh.info/index.html

----------> Bổ sung bài viết lúc 20:02 <----------> Bài viết trước lúc 20:01 <----------

 
Last edited:
Đưa demo ta coi
 

Facebook Comments

Similar threads

C
Replies
3
Views
2K
thethems
T
Admin
Replies
0
Views
6K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Admin
Replies
2
Views
1K
AdminAdmin is verified member.
Admin
Back
Top