I get "Method not allowed" when i try a POST method in a web form that is made with Coffeecup form builder 5.5
I compiled the PHP 4/5 Universal Module 2.3 with PHP 5.2.0 and everything is installed ok but i did not change anything in the litespeed configuration to handle php scripts or the POST method
Make sure your form html contains "action" attribute pointing to the php file.
From the error log, it looks like your have broken html causing the web browser to submit a POST request to a static file which for security reasons is not allowed in litespeed.
Well the coffeecup software is rather odd on making forms....is there an email that i can send you the 4 files so you can check them ?
Thanks
Quote:
Originally Posted by xing
Make sure your form html contains "action" attribute pointing to the php file.
From the error log, it looks like your have broken html causing the web browser to submit a POST request to a static file which for security reasons is not allowed in litespeed.
I think your PHP configuration is not right, *.php is treated as static file, so POST is not allowed, check your lsphp external app and script handler configuration, pay attention to the error/warning message when LSWS starts.
Can you give me a step by step list that i can check with the most details possible ?
Thanks
Quote:
Originally Posted by mistwang
I think your PHP configuration is not right, *.php is treated as static file, so POST is not allowed, check your lsphp external app and script handler configuration, pay attention to the error/warning message when LSWS starts.