httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hulslander, Ryan" <Ryan.Hulslan...@ps.net>
Subject RE: [users@httpd] Make .txt file not directly accessable, only th rough script
Date Wed, 28 May 2003 21:05:40 GMT
> -----Original Message-----
> From: ldg@ulysium.net [mailto:ldg@ulysium.net] 
> Sent: Wednesday, May 28, 2003 2:40 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Make .txt file not directly 
> accessable, only through script

> 
> Of course!
> But I wouldn't do it that way.
> One possibility is to place it outside of the web tree, so 
> it's not directly available for viewing. So trying to access 
> it via a url won't work, because it's not there to be seen, 
> only the php script can fetch it.
> 
> An other possibility could be to put it in a folder that's 
> password protected in some way.

Good ideas!

I took the quick-n-dirty way for right now and just used the "Files"
directive and explicitly named the file in that directory. I'll probably
re-locate it outside of the webtree shortly.

Thanks again!

Ryan

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message