PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > listing of directory uncomplete in apache
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

listing of directory uncomplete in apache

Réponse
 
LinkBack Outils de la discussion
Vieux 07/02/2007, 16h51   #1
laeti_bou@yahoo.fr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut listing of directory uncomplete in apache

I try to list the content of a VirtualHost (with the directive Options
Indexes) on apache 2.0.52 (on centos 4) but only some subdirectories
appear.
All the subdirectories that have a <Directory > directive inside the
<Vitualhost > in httpd.conf are not listed.
Some have a <Directory > section to enable a basic authentification on
those folders.
So only the files which are not protected do appear on
the listing.... and I want ALL the files and folders on the listing !

Has somebody already seen this problem ? Thanks for your .

  Réponse avec citation
Vieux 07/02/2007, 19h21   #2
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: listing of directory uncomplete in apache

On 2007-02-07, laeti_bou@yahoo.fr <laeti_bou@yahoo.fr> wrote:
> Has somebody already seen this problem ?


Yes, is a known 'feature' of having password protection in
directories, the only thing you can do is to build the directory
list by hand and not let apache generate this in automatic. AFAIK
there isn't a way to alter it.

Davide

--
I swear to god, if people treated their cars the way they treat their
computers, half the cars on the road would be covered in bumper stickers
advertising porno, and their trunks would be filled with rotting garbage.
-- Christian Wagner
  Réponse avec citation
Vieux 08/02/2007, 11h31   #3
laeti_bou@yahoo.fr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: listing of directory uncomplete in apache

On 7 fév, 20:21, Davide Bianchi <davideyeahs...@onlyforfun.net> wrote:
> Yes, is a known 'feature' of having password protection in
> directories, the only thing you can do is to build the directory
> list by hand and not let apache generate this in automatic. AFAIK
> there isn't a way to alter it.
>


Thank you for your answer.
Is it the same if I use and LDAP athentication ? or does it only appen
with AuthType Basic ?
Can you confirm me that this problem appeared only in recent realeases
of apache ? (I have also an apache 1.3.27 on rehhat 7.3, and the
listing is OK)

I have also noticed and strange behaviour of the "server-info"
section : it only lists two or three VirtualHosts (I have more) at the
end of the http://my.webserver.host/server-info page, and the sections
doesn't seem to be complete : for example,

in the mod_alias.c module section, the "Current configuration" is :
Alias /icons/ "/var/www/icons/"
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
Alias /error/ "/var/www/error/"
<VirtualHost *:80>
Alias /admin/ "/var/www/oneOfMyVhost/admin/"
</Directory>

But I don't have a syntax error in httpd.conf (the httpd daemons
starts, no error in log files, not errors in configtest).
Is it also a known problem ? Or does it mean that something is wrong
in my httpd.conf file ?

  Réponse avec citation
Vieux 08/02/2007, 11h39   #4
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: listing of directory uncomplete in apache

On 2007-02-08, laeti_bou@yahoo.fr <laeti_bou@yahoo.fr> wrote:
> Is it the same if I use and LDAP athentication ?


It is the same with any kind of authentication. The point is that Apache
checks if you have authentication and just disable the listing of that
directory.

> <VirtualHost *:80>
> Alias /admin/ "/var/www/oneOfMyVhost/admin/"
> </Directory>


Why you have a <VirtualHost> and then a </Directory> block? Or you don't
and that is what is displayed? If so, maybe the server_info is misreading
your configuration file.

> Is it also a known problem?


Never heard of, but I've never used that details level of 'server_info',
have you checked in the developer mailing list of apache?

> Or does it mean that something is wrong in my httpd.conf file ?


Could be, but you're the only one that can check that...

Davide

--
Fatal Error: Found MS-Windows System -> Repartitioning Disk for Linux...
  Réponse avec citation
Vieux 08/02/2007, 14h06   #5
laeti_bou@yahoo.fr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut apache : server-info doesn't show all VirtualHosts

On 8 fév, 12:39, Davide Bianchi <davideyeahs...@onlyforfun.net> wrote:

> Why you have a <VirtualHost> and then a </Directory> block? Or you don't
> and that is what is displayed?


I don't : that is what is displayed.

> have you checked in the developer mailing list of apache?


I just did it, and this seems to be an unfixed bug : http://
issues.apache.org/bugzilla/show_bug.cgi?id=39940

thanks

  Réponse avec citation
Vieux 08/02/2007, 14h36   #6
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: apache : server-info doesn't show all VirtualHosts

On 2007-02-08, laeti_bou@yahoo.fr <laeti_bou@yahoo.fr> wrote:
> I just did it, and this seems to be an unfixed bug : http://
> issues.apache.org/bugzilla/show_bug.cgi?id=39940


Well, that's explains it.
Davide

--
There's a sucker born every minute, and for every sucker there are
10 internet domains that pops up.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 10h28.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10217 seconds with 14 queries