cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Access is denied due to an ACL set

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 28 Jun 2007 17:39:28 -0700

On Thu, Jun 28, 2007 at 05:13:41PM -0700, Guirong Wang wrote:
> Hi,
> I am trying to upload files to a web sever with curl. I filled out all the form
> fields as shown in the LiveHTTPHeaders. With the browser, the page is
> redirected to correct page, but with curl, the page is redirected to an error
> page which contains:

Have you compared what curl sends with what you get from LiveHTTPHeaders?
Obviously, something is missing. --trace-ascii should show you what.

> You do not have permission to view this directory or page due to the access
> control list (ACL) that is configured for this resource on the Web server.
>
> HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on the
> requested resource.
>
>
>
> Can anybody give me any idea on how to get to the correct page with curl? Thank
> you very much in advance.

Sounds like you need the --user and --anyauth options to provide user
credentials to the site.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-06-29