httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Caponi" <don_alcap...@yahoo.com.sg>
Subject [users@httpd] Alias and Files directive
Date Thu, 24 Oct 2002 03:00:10 GMT
Hi all,
I'm using Apache 1.3.26 on RH 7.2.

I have the following settings in my httpd.comf
############################
.....

<Files ~ "^\.ht|config.inc">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>

...

Alias /test "/home/myUser/web"
<Location /test>
    Options -MultiViews -Indexes FollowSymlinks IncludesNoExec

    <Limit GET >
        Order allow,deny
        Allow from all
    </Limit>
</Location>
...
############################

But I can still access a file named config.inc under /home/myUser/web/
directory but not if the config.inc is under /usr/local/httpd/htdocs/.

How do I ensure that the Files directive settings applies to the destination
of the Alias directive? I.e. I want the config.inc to be inaccessible.

Many thanks,
Al.

__________________________________________________
Do You Yahoo!?
Great flight deals, travel info and prizes!
http://sg.travel.yahoo.com

---------------------------------------------------------------------
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