LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 03-21-2004, 04:15 PM   #1
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Rep: Reputation: 30
Apache: Method Not Allowed


Im trying to save data into mySQL database, I made a simple code, and when I will submit the info, I get


Method Not Allowed
The requested method POST is not allowed for the URL /prueba/sign.php.

Apache/1.3.28 Server at server.host.com Port 80


I saved all files on /var/www/htdocs/prueba:

-->index.html
-->dbconnect.php
-->sign.php

What could be the problem?

Thanks a lot.

Last edited by Gerardoj; 03-21-2004 at 04:43 PM.
 
Old 03-21-2004, 04:36 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
the directory /var/log/httpd contains all log files, including access logs, ssl logs, and error logs, review these error log files and post a more specific error.

This error is sometimes caused by incorrect configuration of Apache and several other things.
Your most recent errors in the log should be at the bottom, as the files are usually appended to when wrote.
 
Old 03-21-2004, 04:43 PM   #3
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
Thanks for your reply, here are the logs:

Quote:
[Sun Mar 21 14:57:54 2004] [notice] Apache/1.3.28 (Unix) configured -- resuming normal operations
[Sun Mar 21 14:57:54 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Mar 21 15:41:15 2004] [error] [client 127.0.0.1] File does not exist: /var/www/htdocs/prueba/entrada_datos.php
[Sun Mar 21 15:41:57 2004] [error] [client 127.0.0.1] File does not exist: /var/www/htdocs/prueba/entrada_datos.php
[Sun Mar 21 16:08:23 2004] [notice] caught SIGTERM, shutting down
[Sun Mar 21 16:10:04 2004] [error] Cannot remove module mod_php4.c: not found in module list
[Sun Mar 21 16:10:05 2004] [notice] Apache/1.3.28 (Unix) configured -- resuming normal operations
[Sun Mar 21 16:10:05 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)

Quote:
127.0.0.1 - - [21/Mar/2004:15:48:09 -0600] "GET /prueba HTTP/1.1" 301 314
127.0.0.1 - - [21/Mar/2004:15:48:09 -0600] "GET /prueba/ HTTP/1.1" 200 492
127.0.0.1 - - [21/Mar/2004:15:53:29 -0600] "POST /prueba/sign.php HTTP/1.1" 405 315
127.0.0.1 - - [21/Mar/2004:15:59:00 -0600] "GET /prueba/ HTTP/1.1" 200 508
127.0.0.1 - - [21/Mar/2004:15:59:01 -0600] "GET /prueba/ HTTP/1.1" 304 -
127.0.0.1 - - [21/Mar/2004:15:59:12 -0600] "GET /prueba/index.html HTTP/1.1" 200 508
127.0.0.1 - - [21/Mar/2004:15:59:21 -0600] "POST /prueba/sign.php HTTP/1.1" 405 315
127.0.0.1 - - [21/Mar/2004:15:59:46 -0600] "POST /prueba/sign.php HTTP/1.1" 405 315
127.0.0.1 - - [21/Mar/2004:16:00:47 -0600] "POST /prueba/sign.php HTTP/1.1" 405 315
127.0.0.1 - - [21/Mar/2004:16:00:49 -0600] "POST /prueba/sign.php HTTP/1.1" 405 315
127.0.0.1 - - [21/Mar/2004:16:10:15 -0600] "GET /prueba/index.html HTTP/1.1" 200 492
127.0.0.1 - - [21/Mar/2004:16:10:16 -0600] "POST /prueba/sign.php HTTP/1.1" 405 315
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Method Not Allowed: The requested method POST is not allowed for the URL /writedhcp.p WiWa Linux - Networking 15 01-06-2011 01:20 PM
405 Method Not Allowed (PHP Problem) paul_dundee Programming 2 03-08-2005 07:07 AM
'method not allowed' when running any php script... :( _MD_ Linux - Software 3 04-17-2004 08:13 PM
Apache/Webdav/Dreamweaver MX MKCOL 405 Method not allowed swenz Linux - Software 0 03-31-2003 03:47 AM
405 Method Not Allowed - Help 360 Linux - Networking 1 03-25-2002 06:22 AM


All times are GMT -5. The time now is 05:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration