Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 86129 invoked from network); 28 Dec 2003 20:13:08 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 28 Dec 2003 20:13:08 -0000 Received: (qmail 36237 invoked by uid 500); 28 Dec 2003 20:12:42 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 36205 invoked by uid 500); 28 Dec 2003 20:12:42 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 36178 invoked from network); 28 Dec 2003 20:12:42 -0000 Received: from unknown (HELO sccrmhc12.comcast.net) (204.127.202.56) by daedalus.apache.org with SMTP; 28 Dec 2003 20:12:42 -0000 Received: from mycomputer (pcp04418057pcs.nrockv01.md.comcast.net[69.140.107.237]) by comcast.net (sccrmhc12) with SMTP id <2003122820124601200ec7vre>; Sun, 28 Dec 2003 20:12:46 +0000 From: "Eric Belardo" To: Date: Sun, 28 Dec 2003 15:12:47 -0500 Message-ID: <000301c3cd7e$f61831e0$0301a8c0@mycomputer> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <20031228204132.871439@ubbe> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] New List member Problem X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jonas, This is the exercise: First this HTML: HTML> Redirection Menu

Choose The Website you wish to visit:

CALLS THIS PHP SCRIPT: ANY THOUGHTS??? Please I would appreciate ANY HELP !!!! Eric -----Original Message----- From: Jonas Eckerman [mailto:jonas_lists@frukt.org] Sent: Sunday, December 28, 2003 2:42 PM To: users@httpd.apache.org Subject: RE: [users@httpd] New List member Problem On Sun, 28 Dec 2003 13:33:38 -0500, Eric Belardo wrote: > ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi- > bin/" ScriptAlias /php/ "C:/Documents and Settings/Eric Belardo/My > Documents/WebSite Development/PHP4.3.4./php-4.3.4-Win32/" This doesn't look like enough to actually use PHP. All you do here is tell Apache that stuff in "C:/Documents and Settings/Eric Belardo/My Documents/WebSite Development/PHP4.3.4./php-4.3.4-Win32/" are CGIs. Have you added a handler that makes Apache call PHP for files ending in .php? The PHP site has documentation for how you enable PHP with Apache on Windows. > simple script which uses PHP to redirect to another website > It still gave me the error 405 POST This is odd. What does your script look like, and how do you invoke it? A simple redirect to another site should not make the browser send a POST (unless it is a POST that gets redirected), and if you just put in the URL to the script in your browser, that shouldn't generate any POSTs either. Why did the browser send a POST? Are you sure you're not using forms or anything like that here? If you are, don't. Keep everything as simple as possible while testing wether PHP works or not. Actually, don't even try to redirect, start testing with a simple "Hello world" PHP page. After you've got a "Hello world" to work, try with a php_info. Once that works and looks right, go on with redirects or whatever. And: Is this error message from your server or the one you try to redirect to? It is possible that the redirect actually works but redirects a POST to a server that doesn't allow POST. Regards /Jonas -- Jonas Eckerman, jonas_lists@frukt.org http://www.fsdb.org/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org