|
From: Marcus B. <ma...@wo...> - 2008-09-26 15:58:29
|
Hi...
Claude Paroz wrote:
> class testDemandes extends WebTestCase {
I get this page...
--------
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>403 Forbidden</TITLE>
</HEAD><BODY>
<H1>Forbidden</H1>
You don't have permission to access /bibles/demande.php
on this server.<P>
</BODY></HTML>
--------
That is, your own page is saying it's a request to
"/bibles/demande.php", so it's not a URL parsing problem.
Here is the request:
--------
POST /bibles/demande.php HTTP/1.0
Host: www.bibles.ch
Connection: close
Content-Length: 194
Content-Type: application/x-www-form-urlencoded
bibleform=suisse&Reactions=Test+demande&Bible=OUI&Prenom=Test+pr%C3%A9nom&Nom=Test+nom&Adresse=Test+adresse&Codepostal=Test+CP&Ville=Test+ville&Pays=Suisse&email=test%40email.com&Envoyer=Envoyer
--------
Is this post request correct? What do you get if you use wireshark
with a successful browser request? Does your host accept HTTP 1.0
requests for example?
>
> Claude
yours, Marcus
|