10/10/2018, 11:34
cài apache nhưng k chạy đc
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.
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.
Bài liên quan
----------------------
Dù vậy mình vẫn hay dùng xampp :p
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