You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Roberto Barbieri <r....@carpinet.it> on 2003/04/03 17:28:04 UTC
[users@httpd] Strange behaviour of user's pages
Hi,
i noticed a strange thing happening with users homepages.
When a user put files or directories on his /home/user/public_html dir
everithing, including indexing, works fine.
The strange thing happens when the user create a .htaccess file
inside a subdirectory, like:
/home/user/public_html/subdir/.htaccess
After creating this file, if i try to browse http://hostname/~user/
the directory "subdir" disappear while the others files and directories
are shown. Obviously if i remove the .htaccess files all works fine again
and the "subdir" shows itself again.
What the problem can be?
This is how the user's homepages are configured:
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
Thanks in advance for any help!
Roberto
---------------------------------------------------------------------
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
Re: [users@httpd] Strange behaviour of user's pages
Posted by Roberto Barbieri <r....@carpinet.it>.
Oh, i've forgot
I'm using Apache 2.0.40 on linux redhat 8.0
bye
Roberto
----- Original Message -----
From: "Roberto Barbieri" <r....@carpinet.it>
To: <us...@httpd.apache.org>
Sent: Thursday, April 03, 2003 5:28 PM
Subject: [users@httpd] Strange behaviour of user's pages
> Hi,
>
> i noticed a strange thing happening with users homepages.
>
> When a user put files or directories on his /home/user/public_html dir
> everithing, including indexing, works fine.
> The strange thing happens when the user create a .htaccess file
> inside a subdirectory, like:
>
> /home/user/public_html/subdir/.htaccess
>
> After creating this file, if i try to browse http://hostname/~user/
> the directory "subdir" disappear while the others files and directories
> are shown. Obviously if i remove the .htaccess files all works fine again
> and the "subdir" shows itself again.
>
> What the problem can be?
>
> This is how the user's homepages are configured:
>
> <Directory /home/*/public_html>
> AllowOverride FileInfo AuthConfig Limit
> Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
> <Limit GET POST OPTIONS>
> Order allow,deny
> Allow from all
> </Limit>
> <LimitExcept GET POST OPTIONS>
> Order deny,allow
> Deny from all
> </LimitExcept>
> </Directory>
>
>
> Thanks in advance for any help!
> Roberto
>
> ---------------------------------------------------------------------
> 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
>
---------------------------------------------------------------------
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
Re: [users@httpd] Strange behaviour of user's pages
Posted by Joshua Slive <jo...@slive.ca>.
On Thu, 3 Apr 2003, Roberto Barbieri wrote:
> The strange thing happens when the user create a .htaccess file
> inside a subdirectory, like:
>
> /home/user/public_html/subdir/.htaccess
>
> After creating this file, if i try to browse http://hostname/~user/
> the directory "subdir" disappear while the others files and directories
> are shown. Obviously if i remove the .htaccess files all works fine again
> and the "subdir" shows itself again.
In recent versions of Apache, mod_autoindex does not show
files/directories that the user would not be allowed to access. This is
to prevent possible unintentional disclosure of information.
Joshua.
---------------------------------------------------------------------
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