On Wednesday 05 February 2003 09:55, Andrew Brampton wrote:

> If I try
> www.mysite.com/something.php/blah/blah/blah
> It works as expected, but I don't really want to keep the .php in the URL
> (just to make things look prettier/smaller)....

> So I was wondering if anyone knows what I need to change on my default
> apache+php install. Here are my versions:
> WinXP + Apache 1.3.27 + PHP 4.3.0 (Works Here)
> FreeBSD 4.7 + Apache 1.3.27 + PHP 4.2.3 (Fails Here)
> WebHost some BSD + Apache 1.3.22 + PHP 4.1.0 (Works Here)

If you don't have too many of these something.php files then you can just use 
symlinks:

  ln -s something.php something

Otherwise you can use Apache's rewrite directive, or you can set Apache to 
interpret ALL files as PHP.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The best way to keep your friends is not to give them away.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to