Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuring Apache on OS X 10.4 for POST method



I'm also unclear as to what you are trying to do here.

As a security feature, Apache simply denies POST requests to any URI for which it can't find an appropriate handler (PHP, Perl, other CGI, etc.)

Additionally, the XMLHttpRequest object makes all requests by the GET method by default. You specifically have to choose to make those requests by POST.

So my question is, what are you trying to accomplish here? Tell us what you want to do and we will be better equipped to help you figure out what isn't working.

Errol

On Jul 7, 2006, at 11:04 AM, Walter Lee Davis wrote:

What are you hoping to get back from a plain HTML page with your POST? For what it's worth, I use POST all the time, posting to PHP pages, and it works just fine in that context on Mac OS X Server. You can use GET against an HTML page, and you get the (unmodified) page back from that request.

Walter

On Jul 6, 2006, at 11:44 AM, Eric Fields wrote:

Hello... I'm new to this list but I'm hoping to become an active participant, especially if we can resolve the issue I'm having that also seems to be a common one for other web developers out there using OS X.

It seems that the default OS X apache install doesn't allow for POST method calls. An hour's worth of googling returned little results (although I found comments by many others saying that _their_ hours of googling also returned little results, which was sort of comforting).

I'm trying to make some posts using a basic ajax script. I get the message:

Method Not Allowed
The requested method POST is not allowed for the URL
The best explanation I could find had to do with how the default apache install limits cgi scripts to a particular directory, but cgi is out of my scope, so I don't know how to better explain or take control of this. I couldn't find anything I could modify or add to my httpd.conf file to fix this.

If anyone can help me with this, I'd like to document it online (somewhere) as it seems to be a widespread issue.

Thank you.

--
Eric D. Fields
Web Developer
email@hidden




This electronic message transmission contains information from Collegiate Funding Services, LLC or its subsidiaries or affiliates that may be confidential or privileged. The information is intended to be for the use of only the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this electronic transmission in error, please notify the sender by reply e-mail @cfsloans.com immediately and delete this e-mail and any attachments from your system and any copies you may have made, electronic or otherwise.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Web-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden
References: 
 >Configuring Apache on OS X 10.4 for POST method (From: Eric Fields <email@hidden>)
 >Re: Configuring Apache on OS X 10.4 for POST method (From: Walter Lee Davis <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.