httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From personaje <>
Subject [users@httpd] access from not restricted file to restricted file....
Date Fri, 09 Jul 2004 21:18:01 GMT
    I'm using apache to serve a web page that has public and private
content. I am using .htaccess to restric the access to some
directories containing tar.gz's/images/ppts/pdfs, but the .php file
that serves this links is not under the influence of the .htaccess.
But when I have a link to one of the protected files from the
unprotected .php I get on the apache log :

==> /var/log/apache2/error_log <==
[Fri Jul 09 16:14:56 2004] [error] [client] client
denied by server configuration:

==> /var/log/apache2/access_log <== - - [09/Jul/2004:16:14:56 -0300] "GET
/fotos/Otros/vieja-oficina.jpg HTTP/1.1" 403 370 "-" "Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614

under /home/aplicaciones/public_html/fotos/Otros I have this .htaccess :
AuthType Basic
AuthName "Aplicaciones Web Page"
AuthUserFile /etc/htpasswd

<limit GET>
        deny from all
        Require valid-user

<files ".htaccess">
        deny from all

And on the browser I get the html I should, but I don't see any images...


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