RE: [PHP] files with html extension

From: Date: Tue, 20 Mar 2001 19:45:49 +0000
Subject: RE: [PHP] files with html extension
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44817@lists.php.net to get a copy of this message
From the doc: --------------- How can I remove the file extensions... ...from my URIs in a practical file-based web server? If you are using, for example, Apache, you can set it up to do content negotiation. -------------- How is this done? Jeff Oien > On 3/20/2001 at 6:49 PM Jeff Armstrong wrote: > > > This is exactly why http://www.w3.org recommend that you > > DONT > > SPECIFY A FILE TYPE TYPE in your HREFs. > > > > Cool URIs Dont change - > > http://www.w3.org/Provider/Style/URI > > Good!! > > <A HREF=/somepage >Some Page!</A> > > NOT good! > > <A HREF=/somepage.html >Some Page!</A> > > ^^^^^ > > Let the server decide which page to dish. > > Then it's easy peasy to replace xxx.html with xxx.php or even > > xxx.my_new_language_of_the_moment. > >}; > > > e > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#44817) next »