เพิ่งเริ่มต้นกับ codeigniter นะค่ะ
เริ่มเรื่องเลยละกันนะค่ะ คือว่า ตอนที่ เขียนโปรแกรมใน localhost มันก็ทำงานได้ปกตินะค่ะ
แต่ พออัพ ขึ้นโฮส จริง มันแสดง ผลแต่ หน้า index แต่ หน้าอื่น ๆ มันแสดง เป็น 404 หมดเลยค่ะ
404 Page Not Found
The page you requested was not found.
ตามลิงค์นี้ นะค่ะ
หน้า index แสดงปกติ แต่ ว่าหน้าอื่นๆ ไม่แสดง
http://www.phuketbaytravelagency.com/ เพิ่มเติม link
ใช้ hostlotus ค่ะ
http://www.phuketbaytravelagency.com/info.php + .htaccess
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_REFERER} !(.*)/popups/(.*) [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([a-zA-Z0-9_-]+)/(.*\.jpg|.*\.gif|.*\.css|.*\.js|.*\.xml|.*\.png|.*\.swf|.*\.php|.*\.ico)$ $2 [L]
RewriteRule ^Thingtodo/(.*)\.html$ index.php/Thingtodo/showdetail/$1 [L]
RewriteRule ^Thingtodo/$ index.php/Thingtodo/$1 [L]
RewriteRule ^Boat-Charter/$ index.php/Charter$1 [L]
RewriteRule ^Spa/$ index.php/Spa$1 [L]
RewriteRule ^Scuba/$ index.php/Scuba$1 [L]
RewriteRule ^Golf/$ index.php/Golfcourse$1 [L]
RewriteRule ^Golf/(.*)\.html$ index.php/Golfcourse/showdetail/$1 [L]
RewriteRule ^(.*)/$ index.php/Tourcat/Showdetail/$1 [L]
RewriteRule ^(.*)/(.*)\.html$ index.php/Tourcat/tourdetail/$2 [L]
RewriteRule ^index.html$ index.php$1 [L]
ปล รบกวนด้วยนะค่ะ