Re: Making /something/blah work instead of /something.php/blah

From: Date: Wed, 05 Feb 2003 06:55:44 +0000
Subject: Re: Making /something/blah work instead of /something.php/blah
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134377@lists.php.net to get a copy of this message
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. */

« previous php.general (#134377) next »