ดาวน์โหลด template ของ osCommerce มาหลายตัวแต่มันไม่มีระบบ login admin มาให้ เลยต้องสร้างไฟล์ .htaccess และ .htpasswd ขึ้นมาป้องกันที่ระบบ admin พอเรียกหน้า www.myweb.com/catalog/admin/
มันจะมีบล็อคให้ใส่ User-Pass พอใส่และ submit มันก็ขึ้น Error ตลอด ถึงจะ รีเฟรช ซ้ำมันก็ Error ตลอดทุกครั้งไป จะต้องแก้อย่างไรครับInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] 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.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
เขียนไฟล์ .htaccess แบบนี้AuthName "Restricted Area"
AuthType Basic
AuthUserFile /domains/myweb.com/public_html/catalog/admin/.htpasswd
AuthGroupFile /dev/null
require valid-user
.htpasswd แบบนี้ใครรู้วิธีแก้ช่วยทีครับ :'(