PDA

View Full Version : cài apache nhưng k chạy đc



TP2
13-12-2011, 23:50
Cài xong rùi
chạy http://localhost thì nó hiện It works
nhét 1 file python helloworld.py vào cgi-bin rồi chạy localhost/cgi-bin/helloworld.py thi báo lỗi
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
---------------
chỉ chạy localhost/cgi-bin thì báo lỗi
Forbidden

You don't have permission to access /cgi-bin/ on this server.

TP2
13-12-2011, 23:53
giup em voi :((
----------------------

dokhacluan
14-12-2011, 13:31
sao bạn ko sài xampp , hay wamp cho lẹ , chạy duoc php đó

alobooks.vn
14-12-2011, 17:16
Tự cài cũng có cái hay của nó.
Dù vậy mình vẫn hay dùng xampp :p

anhhd37
15-12-2011, 16:55
vãi chủ thớt

1 cấu hình apache bt thì thư mục mặc định của nó là htdocs

bác copy vào cái thư mục kia rồi gõ link nó báo ko tồn tại là đúng rồi

SauRieng
18-12-2011, 07:26
vãi chủ thớt

1 cấu hình apache bt thì thư mục mặc định của nó là htdocs

bác copy vào cái thư mục kia rồi gõ link nó báo ko tồn tại là đúng rồi

Phán bậy nữa, lỗi 500 mà ko tồn tại cái gì, nó liên quan đến cấu hình serve, giả sử chưa bật rewrite chẳng hạn.