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
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
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
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
:[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
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
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
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
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
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
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
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
-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
13 matches
Mail list logo