wakuki14/bangluong/master/test/.htaccess - Htaccess File
wakuki14/bangluong/master/test/.htaccess
RewriteEngine On
#RewriteBase /test/
RewriteRule ^admin.jsp/?$ index.php?id=admin [L]
RewriteRule ^personal.html/?$ index.php?id=personal [L]
RewriteRule ^personal.html&cmd=([0-9a-z_-]+)$ index.php?id=personal&subid=$1 [L]
RewriteRule ^personal.html&cmd=([0-9a-z_-]+)&act=([0-9a-z_-]+) index.php?id=personal&subid=$1&act=$2 [L]
RewriteRule ^([0-9a-z_-]+)/?$ index.php?id=gianhang&member=$1 [L]
RewriteRule ^([0-9a-z_-]+)/Luu-but/?$ index.php?id=gianhang&subid=luubut&member=$1 [L]
RewriteRule ^([0-9a-z_-]+)/San-pham/?$ index.php?id=gianhang&member=$1 [L]
RewriteRule ^([0-9a-z_-]+)/Bai-viet(.*)$ index.php?id=gianhang&subid=baiviet&member=$1 [L]
RewriteRule ^([0-9a-z_-]+)/n([0-9a-z_-]+)/?$ index.php?id=gianhang&subid=baiviet&member=$1&act=chitiet&news=$2 [L]
RewriteRule ^([0-9a-z_-]+)/Viet-bai/?$ index.php?id=gianhang&subid=baiviet&member=$1&act=vietbai [L]
RewriteRule ^([0-9a-z_-]+)/Cai-dat/?$ index.php?id=gianhang&subid=caidat&member=$1 [L]
RewriteRule ^default.jsp/?$ index.php [L]
RewriteRule ^gioithieu.jsp/?$ index.php?id=home&subid=aboutus [L]
RewriteRule ^lienhe.jsp/?$ index.php?id=home&subid=lienhe [L]
RewriteRule ^yeucau.jsp/?$ index.php?id=home&subid=yeucau [L]
RewriteRule ^tintuc.jsp/?$ index.php?id=news [L]
RewriteRule ^danghoidap.jsp/?$ index.php?id=hoidap&subid=dangtin [L]
RewriteRule ^hoidap.jsp/?$ index.php?id=hoidap [L]
RewriteRule ^congdong.jsp/?$ index.php?id=estore [L]
RewriteRule ^tuyendung.jsp/?$ index.php?id=tuyendung [L]
RewriteRule ^hoadon.jsp/?$ index.php?id=product&subid=hoadon [L]
RewriteRule ^dathang.jsp/?$ ?id=product&subid=checkout [L]
RewriteRule ^sanpham.jsp/?$ ?id=product [L]
RewriteRule ^search.jsp/?$ ?id=home&subid=search [L]
RewriteRule ^dangky.jsp/?$ ?id=signin [L]
RewriteRule ^hoidap.chitiet.([0-9a-z_-]+).(.*)$ ?id=hoidap&subid=detail&cauhoi=$1 [L]
RewriteRule ^hoidap.danhmuc.([0-9a-z_-]+).(.*)$ ?id=hoidap&subid=cat&cat=$1 [L]
RewriteRule ^tuyendung.chitiet.([0-9a-z_-]+).(.*)$ ?id=tuyendung&subid=detail&tuyendung=$1 [L]
RewriteRule ^tuyendung.([0-9a-z_-]+).([0-9a-z_-]+).(.*)$ ?id=tuyendung&subid=cat&type=$1&cat=$2 [L]
RewriteRule ^sanpham.([0-9a-z_-]+).(.*)$ ?id=product&subid=detail&product=$1 [L]
RewriteRule ^c([0-9a-z_-]+).(.*)$ ?id=tinrao&subid=cat&cat=$1 [L]
RewriteRule ^p([0-9a-z_-]+).(.*)$ ?id=tinrao&subid=detail&tinrao=$1 [L]
RewriteRule ^dmduan_([0-9a-z_-]+).([0-9a-z_-]+).(.*)$ ?id=duan&subid=cat&$1=$2 [L]
RewriteRule ^dmtin.([0-9a-z_-]+).(.*)$ ?id=news&subid=cat&cat=$1 [L]
RewriteRule ^dangtin.jsp/?$ ?id=dangtin [L]
RewriteRule ^personal.([0-9a-z_-]+).(.*)$ ?id=home&subid=personal&member=$1 [L]
RewriteRule ^duan.jsp/?$ ?id=duan [L]
RewriteRule ^duan.chitiet.([0-9a-z_-]+).(.*)$ ?id=duan&subid=detail&duan=$1 [L]
RewriteRule ^duan.danhmuc.([0-9a-z_-]+).(.*)$ ?id=duan&subid=cat&cat=$1 [L]
RewriteRule ^tintuc.([0-9a-z_-]+).(.*)$ ?id=news&subid=detail&news=$1 [L]
RewriteRule ^dangtin/([0-9a-z_-]+)/(.*)$ index.php?id=hoidap&subid=dangtin&product=$1 [L]
RewriteRule ^tp([0-9a-z_-]+)/(.*)$ _phanhoi.php?mode=city&city=$1 [L]
RewriteRule ^dir=admincp$ admincp/ [L]
On Github License
Files
Download PDF of Htaccess file