RE: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...
| From: | Brian Duke | Date: | Fri, 31 Dec 2004 20:03:29 +0000 |
| Subject: | RE: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205426@lists.php.net to get a copy of this message | ||
What exactly does your script end in?
I think you can make up your own extension and add it as well just tell
apache what to use when it sees it. I.E.
AddType application/x-httpd-php .fred
I can't guarantee that's true but I think you can.
> -----Original Message-----
> From: Robin Getz [mailto:rgetz@blackfin.uclinux.org]
> Sent: Friday, December 31, 2004 12:55 PM
> To: andrew.kreps@gmail.com
> 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 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 existing GForge.
>
> 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?
>
> Thanks
> -Robin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>