Re: Need Some Direction

From: Date: Mon, 09 Aug 2004 19:57:27 +0000
Subject: Re: Need Some Direction
Groups: php.general 
Request: Send a blank email to php-general+get-193221@lists.php.net to get a copy of this message
if you have /var/www/html/ defined as documentroot, as you mentioend then outside is anything outside the directory html/ so /var/www/php/ could hold all your php files, and be outside the docroot. JAson "Aaron Todd" <aaloki88@hotmail.com> wrote: > > When you say "outside of the webroot" do you mean. Can you give me an > example. The root of my web is in /var/www/html/. Thats where you are > taken when you punch in my domain. Currently I have a directory called > /test/ which is protected by .htaccess but it is inder the > webroot.../var/www/html/test/ So far under this config I cant get it to > work, but I'm not sure if I'm still under the webroot in my config. Do I > need to move my test directory to lets say /var/www/ or even /var/? > > Thanks again, > > Aaron > > "Torsten Roehr" <roehr@zilleon.com> wrote in message > news:20040806125341.60404.qmail@pb1.pair.com... > > "Aaron Todd" <aaloki88@hotmail.com> wrote in message > > news:20040806124810.40690.qmail@pb1.pair.com... > > > I hate to sound ignorant, but how do I get a file out of a .htaccess > > > protected directory without logging in again? You cant use the normal > > > syntax of http://username:password@domain anymore. > > > Microsoft "fixed" > that > > > "bug". > > > > > > Thanks, > > > > > > Aaron > > > > Hi Aaron, > > > > because you are accessing a file via PHP from your *local* file system it > > doesn't matter if the directory is protected or outside of the webroot. > PHP > > has access to the file (if read privilege is set). The protection is just > to > > deny public access. > > > > Take a look here: > > ÷ > > —PŒêBþ¶Žd™http://pear.php.net/manual/en/package.http.http-download.intro.php > > > > Hope this helps, Torsten > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#193221) next »