Re: including files outside of document root

From: Date: Wed, 23 Jan 2008 20:28:15 +0000
Subject: Re: including files outside of document root
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-267931@lists.php.net to get a copy of this message
On Jan 23, 2008, at 3:04 PM, Daniel Brown wrote:
On Jan 23, 2008 2:56 PM, Jason Pruim <japruim@raoset.com> wrote:
that's why I made my decision. Not to say it's the right one, just a step in the right direction. To me it also seems more portable across hosts to have access outside of your webroot vs. access to .htaccess
It's far more portable, because every HTTP server out there knows how to handle paths, but only Apache knows how to handle an .htaccess file. So you can forget being able to use that same code on IIS, tinyhttpd, Boa, AnalogX SimpleServer:WWW (an old favorite!), et cetera. If it only works with one specific HTTP server, that's a serious limit.
I didn't realize that... That's good info. I always hear people talking about .htaccess files on all the different lists I'm on so I thought it was an industry standard thing :) Now I can shut my brain down because I learned my 1 new thing for today! "mmmmmmmmm Beer" -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424 www.raoset.com japruim@raoset.com

« previous php.general (#267931) next »