Hi there,
I've just installed LS 2.2.2 locally on OS X 10.4.7 and I keep getting this error when clicking form submit buttons that use the POST method: 405 Method Not Allowed. This is what I get in the debug log:
I've just installed LS 2.2.2 locally on OS X 10.4.7 and I keep getting this error when clicking form submit buttons that use the POST method: 405 Method Not Allowed. This is what I get in the debug log:
PHP:
2006-09-24 15:45:18.965 DEBUG [*:80] New connection from 127.0.0.1:59136.
2006-09-24 15:45:18.965 DEBUG [*:80] 1 connections accepted!
2006-09-24 15:45:18.965 DEBUG [127.0.0.1:59136-0] HttpIOLink::handleEvents() events=1!
2006-09-24 15:45:18.965 DEBUG [127.0.0.1:59136-0] HttpConnection::onReadEx(), state: 0!
2006-09-24 15:45:18.965 DEBUG [127.0.0.1:59136-0] readToHeaderBuf().
2006-09-24 15:45:18.965 DEBUG [127.0.0.1:59136-0] Read from client: 510
2006-09-24 15:45:18.965 DEBUG [127.0.0.1:59136-0] read 510 bytes to header buffer
2006-09-24 15:45:18.965 DEBUG [127.0.0.1:59136-0] processHeader() return 0, header state: 3.
2006-09-24 15:45:18.965 DEBUG [127.0.0.1:59136-0] readToHeaderBuf() return 0.
2006-09-24 15:45:18.966 DEBUG [127.0.0.1:59136-0#my_domain] New request:
Method=[GET], URI=[/annual_1.html],
QueryString=[]
Content Length=0
2006-09-24 15:45:18.966 DEBUG [127.0.0.1:59136-0#my_domain] Find context with URI: [/], location: [/usr/local/lsws/www/virtual_host/public/]
2006-09-24 15:45:18.966 DEBUG [127.0.0.1:59136-0#my_domain] processContextPath() return 0
2006-09-24 15:45:18.966 DEBUG [127.0.0.1:59136-0#my_domain] readyCacheData() return 0
2006-09-24 15:45:18.966 DEBUG [127.0.0.1:59136-0#my_domain] HttpConnection::flush()!
2006-09-24 15:45:18.993 DEBUG [127.0.0.1:59136-0#my_domain] Written to client: 137
2006-09-24 15:45:18.994 DEBUG [127.0.0.1:59136-0#my_domain] HttpConnection::nextRequest()!
2006-09-24 15:45:18.994 DEBUG [127.0.0.1:59136-1] processNewReq() return 0.
2006-09-24 15:45:20.531 DEBUG [127.0.0.1:59136-1] HttpIOLink::handleEvents() events=1!
2006-09-24 15:45:20.531 DEBUG [127.0.0.1:59136-1] HttpConnection::onReadEx(), state: 0!
2006-09-24 15:45:20.531 DEBUG [127.0.0.1:59136-1] readToHeaderBuf().
2006-09-24 15:45:20.531 DEBUG [127.0.0.1:59136-1] Read from client: 544
2006-09-24 15:45:20.531 DEBUG [127.0.0.1:59136-1] read 544 bytes to header buffer
2006-09-24 15:45:20.531 DEBUG [127.0.0.1:59136-1] processHeader() return 0, header state: 3.
2006-09-24 15:45:20.532 DEBUG [127.0.0.1:59136-1] readToHeaderBuf() return 0.
2006-09-24 15:45:20.532 DEBUG [127.0.0.1:59136-1#my_domain] New request:
Method=[POST], URI=[/annual_2.html],
QueryString=[]
Content Length=12
2006-09-24 15:45:20.532 DEBUG [127.0.0.1:59136-1#my_domain] Read Request Body!
2006-09-24 15:45:20.532 DEBUG [127.0.0.1:59136-1#my_domain] Finished request body 12 bytes!
2006-09-24 15:45:20.532 DEBUG [127.0.0.1:59136-1#my_domain] Find context with URI: [/], location: [/usr/local/lsws/www/my_domain/public/]
2006-09-24 15:45:20.532 DEBUG [127.0.0.1:59136-1#my_domain] processContextPath() return 0
2006-09-24 15:45:20.532 DEBUG [127.0.0.1:59136-1#my_domain] processNewReq() return 26.
2006-09-24 15:45:20.532 DEBUG [127.0.0.1:59136-1#my_domain] HttpConnection::sendHttpError(),code=405 Method Not Allowed
2006-09-24 15:45:20.533 DEBUG [127.0.0.1:59136-1#my_domain] HttpConnection::flush()!
2006-09-24 15:45:20.587 DEBUG [127.0.0.1:59136-1#my_domain] Written to client: 584
2006-09-24 15:45:20.587 DEBUG [127.0.0.1:59136-1#my_domain] HttpConnection::nextRequest()!
2006-09-24 15:45:23.334 DEBUG [*:81] New connection from 127.0.0.1:59137.
2006-09-24 15:45:23.345 DEBUG [UDS://tmp/lshttpd/admin_php.sock] connection available!
2006-09-24 15:45:23.345 DEBUG [UDS://tmp/lshttpd/admin_php.sock] request [127.0.0.1:59137-0#_AdminVHost:lsapi] is assigned with connection!