link ใน index.php ใช้ไม่ได้ หลังจากติดตั้งใหม่

By mu

มือใหม่ครับ

สร้าง drupal 5.5 ใน localmachine (WinXP) ครับ พอพิมพ์ http://localhost/drupal-5.5/index.php ก็ได้ welcome page แต่ลิงก์ใช้ไม่ได้เช่น create new account, create the first account, administration section,... มันจะไปที่หน้า "Index of /drupal-5.5" page.

แล้วพอ "Login", จะได้
"Not Found

The requested URL /drupal-5.5/ was not found on this server"

มีคนตอบว่ามันไม่อ่าน htaccess แต่ไม่รู้แ้ก้ไงฮะ รบกวนด้วยครับ

5 comments

รูปภาพของ sugree
By sugree
4 years 2 weeks ago

แสดงว่า index

แสดงว่า index page มันไม่มี index.php ในนั้น ว่าแต่ใช้ web server ตัวไหนครับ

By mu
4 years 2 weeks ago

Apache 2.2.6 , MySQL 5.0.45

Apache 2.2.6 , MySQL 5.0.45 และ php 5.2.5 ครับ

รูปภาพของ sugree
By sugree
4 years 2 weeks ago

ไม่ได้ใช้

ไม่ได้ใช้ AppServ? งั้นผมรู้ละ ต้องแก้ httpd.conf ให้ใส่ index.php ใน DirectoryIndex

By mu
4 years 2 weeks ago

Workแล้วครับ

Workแล้วครับ
จริงๆใส่ไปอยู่แล้วแต่ไม่รู้ใส่สองตัวได้หรือเปล่า

DirectoryIndex index.html
DirectoryIndex index.php

ผมลองเอา index.php ไว้ข้างบนแทน index.html แล้วก็ได้เลย พอสลับลงมาเหมือนเดิมก็ยังได้อยู่ งง ไม่รู้ว่าตอนที่ผมทำไว้แต่แรกแล้วไม่ได้รีบูตหรือเปล่า เพราะอันนี้มาลองหลังไฟดับ -_-"
ขอบคุณมากเลยฮะ เห็นคุณสุึกรีตอบเยอะมาก เดี๋ยวแวะมาถามใหม่ฮะ
:)

By GR3AT3R
1 ปี 44 weeks ago

ขอบคุณครับ ใส่อีกแบบก็ได้นะค

ขอบคุณครับ

ใส่อีกแบบก็ได้นะครับ

DirectoryIndex index.html index.php