warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1005 is not allowed to access /tmp owned by uid 0 in /var/www/sites/sugree/codenone.com/subdomains/www/html/includes/file.inc on line 190.
warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 1005 is not allowed to access /tmp owned by uid 0 in /var/www/sites/sugree/codenone.com/subdomains/www/html/includes/file.inc on line 190.
ทำได้ครับ น่าจะได้อยู่แล้ว แค่ enable ก็พอ ขอแค่ .htaccess ใช้ได้และมี mod_rewrite
ตอนที่จะ enable มันจะมีให้ทดสอบก่อนว่าใช้ได้เปล่า ผมลองทดสอบดูมันไม่ได้ครับ แล้วดูยังไงครับว่า .htaccess ใช้ได้ และมี mod_rewrite
ขอบคุณครับ
มีอีกสาเหตุคือไม่ได้ติดตั้งใน / ในกรณีนี้ต้องแก้ .htaccess ตรง RewriteBase
ผมก็ไม่รู้ว่าจะดูยังไง คงต้องถามเจ้าของเครื่อง น่าจะง่ายกว่า
ผมเคยใช้วิธีนี้ครับ .htaccess for clean urls on specific shared hosts
ทำตามแล้วได้เลยครับดีจริงๆครับ ขอบคุณมากครับ
พอผมลองทดสอบมันก็ฟ้องว่า Page not found น่ะครับต้องแก้อย่างไรดี
นี่ข้อมูลของเว็บเซิร์ฟเวอร์นะครับ
Apache 1.3.37 (Unix)
mod_ssl 2.8.28
OpenSSL 0.9.7a
PHP 4.4.6
mod_perl 1.29
FrontPage 5.0.2.2510
ส่วน URL คือ Public_html/main (แก้ .htaccess ใน /pubic_html แล้วตั้งค่า rewrite_base เป็น /main)
ดูปกติดี คงต้องถามเจ้าของเครื่องเกี่ยวกับ mod_rewrite มีมั๊ย อนุญาตมั๊ย
ครับ เดี๋ยวผมจะลองโทรไปถามดู
ขอบคุณมากครับ
ลองเช็คโมดูลของเซิร์ฟแล้วก็มี mod_rewrite นะครับ แต่ว่าพอลองแก้ .htaccess แล้วลองทดสอบดูปรากฎว่ามันขึ้นหน้า page not found (ธีมแสดงผลปกตินะครับ ไม่ใช่หน้าขาวๆ)