

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
12 messages in ru.sysoev.nginxRe: Mass virtual hosting and global r...| From | Sent On | Attachments |
|---|---|---|
| NoSync | Jun 15, 2009 6:30 am | |
| Igor Sysoev | Jun 15, 2009 6:48 am | |
| NoSync | Jun 15, 2009 8:23 am | |
| Igor Sysoev | Jun 15, 2009 8:34 am | |
| NoSync | Jun 15, 2009 9:22 am | |
| Igor Sysoev | Jun 15, 2009 11:47 am | |
| NoSync | Jun 16, 2009 6:43 am | |
| Igor Sysoev | Jun 16, 2009 6:55 am | |
| NoSync | Jun 16, 2009 7:31 am | |
| Igor Sysoev | Jun 16, 2009 7:34 am | |
| NoSync | Jun 16, 2009 8:06 am | |
| Edho P Arief | Jun 18, 2009 6:12 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: Mass virtual hosting and global redirect | Actions... |
|---|---|---|
| From: | NoSync (ngin...@nginx.us) | |
| Date: | Jun 16, 2009 7:31:40 am | |
| List: | ru.sysoev.nginx | |
There you go:
2009/06/16 14:27:46 6580#0: *21 malloc() 18446744073709551612 bytes failed (12:
), client: 89.96.xxx.xxx, server: ~^(.*)\.(.*\..*)$, request: "GET / HTTP/1.1",
host: "www.digitalnatives.eu"
And here's a strace:
accept(7, {sa_family=AF_INET, sin_port=htons(41325),
sin_addr=inet_addr("89.96.xxx.xxx")}, [7899595229974495248]) = 8
ioctl(8, FIONBIO, [1]) = 0
epoll_ctl(10, EPOLL_CTL_ADD, 8, {EPOLLIN|EPOLLET, {u32=7199456, u64=7199456}}) =
0
epoll_wait(10, {{EPOLLIN, {u32=7199456, u64=7199456}}}, 512, 60000) = 1
gettimeofday({1245162214, 677575}, NULL) = 0
recvfrom(8, "GET / HTTP/1.1\r\nHost: www.digital"..., 1024, 0, NULL, NULL) = 592
open("/var/www/vhosts/digitalnatives.eu/www/", O_RDONLY) = 11
fstat(11, {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
close(11) = 0
open("/var/www/vhosts/digitalnatives.eu/www/", O_RDONLY) = 11
fstat(11, {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
close(11) = 0
open("/var/www/vhosts/digitalnatives.eu/www/", O_RDONLY) = 11
fstat(11, {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
close(11) = 0
open("/var/www/vhosts/digitalnatives.eu/www/", O_RDONLY) = 11
fstat(11, {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
close(11) = 0
open("/var/www/vhosts/digitalnatives.eu/www/index.php", O_RDONLY) = 11
fstat(11, {st_mode=S_IFREG|0674, st_size=397, ...}) = 0
write(3, "2009/06/16 14:23:34 6538#"..., 198) = 198
writev(8, [{"HTTP/1.1 500 Internal Server Erro"..., 162}, {"\r\n500
Internal"..., 140}, {"nginx/0.7.51"..., 53}], 3) = 355
write(4, "89.96.100.196 - - [16/Jun/2009:14"..., 200) = 200
close(11) = 0
Nginx gives 500 error, as you can see, while it works perfectly using the if's.
To be noted, it works perfectly if I try to access any URL deeper than first
level (www.domain.com/something works, www.domain.com or
www.domain.com/index.php does not).
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,2924,2957#msg-2957







