Re: URL modification

From: Date: Fri, 22 Feb 2008 16:35:41 +0000
Subject: Re: URL modification
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-269884@lists.php.net to get a copy of this message
Per Jessen wrote:
Daniel Brown wrote:
On Fri, Feb 22, 2008 at 10:53 AM, Per Jessen <per@computer.org> wrote:
Nathan Rixham wrote:
To use url's like http://domain.com/login/ as opposed to http://domain.com/login.php you can take multiple approaches.
[big snip]
Seriously, this is all overkill. Apache content negotiation does it all automagically and with minimal effort.
    Yes it does.... but the OP is using IIS.  ;-P
Oops, I missed that completely. Sorry. /Per Jessen, Zürich
+ rewrite is overkill for this, but long term it's worth implementing and getting used to - think of the post as a pre-emptive strike on the inevitable question in a couple of weeks: "how can i make /profile/adam instead of profile.php?user=adam" :) happy friday all

« previous php.general (#269884) next »