[PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread Robin Getz
Hi. I am trying to get Apache 2.0.52 / PHP 4.3.10 working with some scripts I am using. I have a file named /www/projects which is a php script. When I type the url: www.site/projects/variable I want variable passed to the script projects I have the the http.conf set up as: Files projects

Re: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread Andrew Kreps
On Fri, 31 Dec 2004 11:39:51 -0800, Robin Getz [EMAIL PROTECTED] wrote: Hi. I am trying to get Apache 2.0.52 / PHP 4.3.10 working with some scripts I am using. Which used to work with apache 2.0.40 and php 4.2.3 - but what happens now, is I actually get passed the php script back as

RE: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread Robin Getz
Andrew Kreps wrote: I had to add this line to my httpd.conf: AddType application/x-httpd-php .php I have this and the DirectoryIndex - the problem is that my script does not end in a .php extention. (GForge ) If I rename the file projects.php and point to that, it works, but that means an

Re: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread John Nichel
Robin Getz wrote: Andrew Kreps wrote: I had to add this line to my httpd.conf: AddType application/x-httpd-php .php I have this and the DirectoryIndex - the problem is that my script does not end in a .php extention. (GForge ) If I rename the file projects.php and point to that, it works, but

RE: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread Brian Duke
:[EMAIL PROTECTED] Sent: Friday, December 31, 2004 12:55 PM To: [EMAIL PROTECTED] Cc: php-general@lists.php.net Subject: RE: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question... Andrew Kreps wrote: I had to add this line to my httpd.conf: AddType application/x-httpd-php .php I

Re: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread Andrew Kreps
On Fri, 31 Dec 2004 11:55:13 -0800, Robin Getz [EMAIL PROTECTED] wrote: I have this and the DirectoryIndex - the problem is that my script does not end in a .php extention. (GForge ) If I rename the file projects.php and point to that, it works, but that means an entire re-write of the

Re: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread Chris
Robin Getz wrote: Andrew Kreps wrote: I had to add this line to my httpd.conf: AddType application/x-httpd-php .php I have this and the DirectoryIndex - the problem is that my script does not end in a .php extention. (GForge ) If I rename the file projects.php and point to that, it works, but

Re: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread Mark Charette
Robin Getz wrote: Andrew Kreps wrote: I had to add this line to my httpd.conf: AddType application/x-httpd-php .php I have this and the DirectoryIndex - the problem is that my script does not end in a .php extention. (GForge ) If I rename the file projects.php and point to that, it works, but

Re: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread John Holmes
Robin Getz wrote: I have a file named /www/projects which is a php script. When I type the url: www.site/projects/variable I want variable passed to the script projects I have the the http.conf set up as: Files projects SetInputFilter PHP SetOutputFilter PHP AcceptPathInfo On /Files Which

RE: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread Robin Getz
The prize goes to Mark Charette of [EMAIL PROTECTED] for reading the apache manual in more detail than I. After Reading http://httpd.apache.org/docs-2.0/mod/core.html#forcetype Then adding: ForceType application/x-httpd-php Things work great. Thanks -Robin -- PHP General Mailing List

Re: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread John Holmes
Mark Charette wrote: Robin Getz wrote: I guess the question is - how to make a file that does not end in .php or have any extension, be understood as a php file? ForceType directive. I was thinking the same thing, but after doing some reading it seems Apache 2 uses a different method now

Re: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread Mark Charette
John Holmes wrote: Robin Getz wrote: I have a file named /www/projects which is a php script. When I type the url: www.site/projects/variable I want variable passed to the script projects I have the the http.conf set up as: Files projects SetInputFilter PHP SetOutputFilter PHP

RE: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread Andras Kende
-Original Message- From: Robin Getz [mailto:[EMAIL PROTECTED] Sent: Friday, December 31, 2004 1:40 PM To: php-general@lists.php.net Subject: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question... Hi. I am trying to get Apache 2.0.52 / PHP 4.3.10 working with some scripts I am using