A+ | A - | RESET
Fixed | Wide | Full | Reset

Gumairu dot Com

If you don't know and wanna know, come and ask us. We will help you still don't know !!

  Advanced search
Welcome, Guest. Please login or register.
February 07, 2012, 12:02:47 PM

Login with username, password and session length
Pages: [1]   Go Down
Author Topic: .htaccess ไม่สามารถใช้ colons[:] และ semicolons[;] แก้ได้  (Read 622 times)
0 Members and Guests are viewing this topic.
bobby
Administrator
Full Member
*****
Offline Offline

Posts: 130


View Profile WWW Email
« on: June 04, 2010, 11:10:52 AM »

ใน .htaccess บางครั้งใน url ที่เรา rewrite ไปต้องใช้ url แบบ get ยาวๆ มีทั้ง & : ;
ปัญหาเกิดตอนใช้พวก : ;

Code:
RewriteRule ^sitemap\.xml index.php?action=sitemap;xml [QSA]
ตอนแรกก็ใช้งี้ ปรากฏว่าไม่ได้ ตาย

แก้โดยการเพิ่ม [NE] เข้าไป ดูรายละเอียดจาก document ของ mod_rewrite
Code:
RewriteRule ^sitemap\.xml index.php?action=sitemap;xml [NE,L,QSA]
Logged

Pages: [1]   Go Up
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Corto design by Bloc | XHTML | CSS