Re: AFter the URL in PHP

From: Date: Sun, 25 Jan 2004 02:07:04 +0000
Subject: Re: AFter the URL in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-175662@lists.php.net to get a copy of this message
--- Randy Johnson <randy@money2020.com> wrote: > I am not sure if this is a php thing or not but hope is... It's more an Apache thing, but I think it's relevant. > I see some sites like this: > > www.domain.com/tree > > where tree is not a directory > > for example > www.domain.com/tree/ would not work Actually, it would work. Just make tree a PHP script, and add something like this to your .htaccess: <Files tree> ForceType application/x-httpd-php </Files> Hope that helps. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#175662) next »