httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hulslander, Ryan" <>
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: [] 
> Sent: Wednesday, May 28, 2003 2:40 PM
> To:
> 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!


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message