[liphp] Strange under apache

Tom [email protected]
Wed, 04 Jun 2003 23:38:22 -0400


In the first scenario that Matt laid out, you would need to set the
DirectoryIndex to include index.php in httpd.conf

In the second situation, you can leave the extension off of the file name,
providing you use the ForceType directive in the .htaccess or httpd.conf
file.

It would look something like (this is from memory - I'll check it tomorrow
at work)

<File foobar>
ForceType x-httpd-php
</File>

(It is something like that, anyway.)

Of course, I'm still not 100% sure that's what Tim was asking....

Tom

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of
Matt Surico
Sent: Wednesday, June 04, 2003 11:11 PM
To: [email protected]
Subject: Re: [liphp] Strange under apache


On Wed, Jun 04, 2003 at 09:36:29PM -0400, the esteemed Tim Sailer wrote:
> OK, I just set up a test box with apache an php, and it seems like
> this install, for some reason, actually *needs* the .php added to
> the url. I've never had to do this before, and it means going in and
> changing a LOT of code. What did I miss?

Tim, do you mean stuff like http://xyz.org/fred/ needs to be
http://xyz.org/fred/index.php or do you mean http://xyz.org/ethel
needs to be http://xyz.org/ethel.php ??

If it's the ethel.php one, I never knew you could leave the .php
extension off the file name!

Matt

--
Matt Surico                 | "                        "
Oracle Certified            |
Database Administrator      |      -- Mummenschanz
Email: [email protected]      | http://www.buoy.com/~surico
Pager: [email protected]   |
_______________________________________________
Liphp mailing list
[email protected]
https://www.liphp.org/mailman/listinfo/liphp