|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 . |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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 ? |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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... |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
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. |
|
![]() |
| Outils de la discussion | |
|
|