Welcome! Log In Create A New Profile

Advanced

Re: Help with autoindex on; missing slash for directories

All files from this thread

File Name File Size   Posted by Date  
include-dirent-x86_64.tar.gz 3.6 KB open | download Yazz Atlas 07/02/2009 Read message
patch-nginx-debug-autoindex.txt 552 bytes open | download Maxim Dounin 07/02/2009 Read message
patch.autoindex.txt 2.8 KB open | download Igor Sysoev 10/13/2009 Read message
Yazz Atlas
July 02, 2009 02:01PM
On 7/1/09 3:53 PM, Maxim Dounin wrote:
>
> I mean *appeared* in 0.7.40, i.e. problem exists in 0.7.40 but not
> in 0.7.39. But after some thinking it's most likely 0.7.15 when
> dirent.d_type checking was initially introduced (i.e. problem exists in
> 0.7.15 but not in 0.7.14).

Ah, gotcha. I miss understood.

>
> [...]
>
>> checking for struct dirent.d_namlen ... not found
>> checking for struct dirent.d_type ... found
>
> [...]
>
> You system has dirent.d_type, but it looks like it's something
> wrong with it. I've tried to reproduce problem on vmware image of
> CentOS 5.3 i386 - but failed, everythings works ok. I've even
> tried initial release version and fully updated one (with
> 2.6.18-128.1.16.el5 kernel), no problems found.
>
> It's either x64 only issue, or something wrong with headers on
> your server(s). Unfortenately I have no x64 version on hand to
> test it there, but people report that everything is ok at least on
> other x64 distributions.
>

I tested under VMware Server Version 2.0.1 and selecting Red Hat
Enterprise Linux (64bit) as the Guest Operating System. Then I loaded
CentOS release 5.3 (Final) x86_64 with Kernel 2.6.18-128.1.14.el5.

The problem still exists.

> Could you please check your headers, most notably
> /usr/include/dirent.h and /usr/include/bits/dirent.h?
>

I attached them in the file called include-dirent-x86_64.tar.gz.

include/dirent.h
include/bits/dirent.h

Yazz Atlas
Attachments:
open | download - include-dirent-x86_64.tar.gz (3.6 KB)
Subject Author Posted

Help with autoindex on; missing slash for directories

Yazz Atlas July 01, 2009 02:09AM

Re: Help with autoindex on; missing slash for directories

Maxim Dounin July 01, 2009 05:30AM

Re: Help with autoindex on; missing slash for directories

Yazz Atlas July 01, 2009 12:48PM

Re: Help with autoindex on; missing slash for directories

Maxim Dounin July 01, 2009 06:53PM

Re: Help with autoindex on; missing slash for directories Attachments

Yazz Atlas July 02, 2009 02:01PM

Re: Help with autoindex on; missing slash for directories Attachments

Maxim Dounin July 02, 2009 03:22PM

Re: Help with autoindex on; missing slash for directories

Joshua Zhu July 02, 2009 11:55PM

Re: Help with autoindex on; missing slash for directories

Maxim Dounin July 03, 2009 04:49AM

Re: Help with autoindex on; missing slash for directories

Yazz D. Atlas July 16, 2009 07:25PM

Re: Help with autoindex on; missing slash for directories

Maxim Dounin July 16, 2009 11:01PM

Re: Help with autoindex on; missing slash for directories

Igor Sysoev July 17, 2009 07:14AM

Re: Help with autoindex on; missing slash for directories

Maxim Dounin July 21, 2009 02:08PM

Re: Help with autoindex on; missing slash for directories

chris_14278 October 13, 2009 02:07AM

Re: Help with autoindex on; missing slash for directories Attachments

Igor Sysoev October 13, 2009 03:30PM

Re: Help with autoindex on; missing slash for directories

Maxim Dounin October 13, 2009 08:52PM

Re: Help with autoindex on; missing slash for directories

Igor Sysoev October 14, 2009 07:32AM

Re: Help with autoindex on; missing slash for directories

Maxim Dounin October 14, 2009 08:30AM

Re: Help with autoindex on; missing slash for directories

Igor Sysoev October 14, 2009 08:48AM

Re: Help with autoindex on; missing slash for directories

Maxim Dounin October 14, 2009 09:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 293
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready