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 01, 2009 12:48PM
On 7/1/09 2:30 AM, Maxim Dounin wrote:
> Hello!
>
> On Tue, Jun 30, 2009 at 11:09:11PM -0700, Yazz Atlas wrote:
>
>> I'm working on upgrading some servers running nginx-0.6.34 to either
>> nginx-0.8.4 or nginx-0.7.61. The problem is I have another tool that
>> was crawling the nginx directory and following all the directories it
>> found. With the latest version of nginx the the directories aren't
>> given a slash so doing the automated crawl fails.
>
> [...]
>
>> Notice the missing slash after the word site. I was relying on having
>> the slash so I could navigate down directories with my crawler.
>>
>> Any one have a solution to add the slash back?
>
> Which OS? Which filesystem?

CentOS release 5.3 (Final) with ext3 filesystem, Linux example
2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64
x86_64 GNU/Linux

> And could you please:
>
> 1. Test if this regression appeared in 0.7.40.

The problem still exists with 0.7.40. I did compiled 0.6.38 and it does
not have the problem. However I would like to move to the either 0.7.x
or 0.8.x.

> 2. Show ./configure output on your system.

[root@example nginx-0.7.40]# ./configure --http-proxy-temp-path=/tmp
--prefix=/opt/nginx --with-http_ssl_module
--with-http_gzip_static_module
--http-fastcgi-temp-path=/opt/nginx/fastcgi_temp
--http-proxy-temp-path=/opt/nginx/proxy_temp
--http-client-body-temp-path=/opt/nginx/client_body_temp --group=nobody
--user=nobody --prefix=/opt/nginx --with-http_realip_module
--with-http_secure_link_module --with-http_stub_status_module
--with-http_xslt_module/nginx/checking for OSp --group=nobody
--user=nobody --prefix=/opt/nginx --with-http_realip_module + Linux
2.6.18-128.1.10.el5 x86_64
checking for C compiler ... found
+ using GNU C compiler0704 (Red Hat 4.1.2-44)
+ gcc version: 4.1.2 20080704 (Red Hat 4.1.2-44)--prefix=/opt/nginx
--with-http_ssl_module checking for gcc -pipe switch ...
foundastcgi-temp-path=/opt/nginx/fastcgi_temp --http-proxychecking for
gcc variadic macros ... foundchecking for C99 variadic macros ...
foundginx --with-http_realip_module --with-http_secure_checking for
unistd.h ... foundatus_module --with-http_xslt_module
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for crypt.h ... found
checking for Linux specific features
checking for epoll ... found.40/
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... foundgure --http-proxy-temp-path=/tmp
--prefix=/opt/nginx --wichecking for prctl(PR_SET_DUMPABLE) ...
founddule --http-fastcgi-temp-path=/opt/nginx/fastcgchecking for
sched_setaffinity() ... foundroxy_temp
--http-client-body-temp-path=/opt/nginx/checking for poll() ... founddy
--user=nobody --prefix=/opt/nginx --with-http_realip_module checking for
/dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for PCRE library ... found
checking for OpenSSL library ... found
checking for zlib library ... found
checking for libxslt ... found
checking for libexslt ... found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system endianess ... little endianess
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for strerror_r() ... found but is not working
checking for gnu style strerror_r() ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for sched_yield() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found

Configuration summary
+ using system PCRE library
+ using system OpenSSL library
+ md5: using OpenSSL library
+ sha1 library is not used
+ using system zlib library

nginx path prefix: "/opt/nginx"
nginx binary file: "/opt/nginx/sbin/nginx"
nginx configuration prefix: "/opt/nginx/conf"
nginx configuration file: "/opt/nginx/conf/nginx.conf"
nginx pid file: "/opt/nginx/logs/nginx.pid"
nginx error log file: "/opt/nginx/logs/error.log"
nginx http access log file: "/opt/nginx/logs/access.log"
nginx http client request body temporary files:
"/opt/nginx/client_body_temp"
nginx http proxy temporary files: "/opt/nginx/proxy_temp"
nginx http fastcgi temporary files: "/opt/nginx/fastcgi_temp"


> Maxim Dounin
>
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: 311
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