httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] htaccess - web script access permissions
Date Thu, 19 Jun 2003 08:05:23 GMT
Martin Hudec wrote:
> please, can anyone point me how to set file access permissions using
> .htaccess?
> Here is situation I have:
> /web - directory with htmls etc
> /web/script - directory with one script
> I need to set that script in /web/script accessible only from localhost
> browser I call flash which localy uses that script).

Apache needs to be configured to allow authorization directives in access
files in the directory.

<Directory /web/script>
    AllowOverride ... Limit

In the .htaccess file, you have:

Order Deny,Allow
Deny from all
Allow from

But, you should put it directly in the httpd.conf if possible.

Robert Andersson

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