4 messages in ru.sysoev.nginxRe: php/fastcgi + phpMyAdmin => Trail...
FromSent OnAttachments
Jonathan DanceFeb 19, 2007 10:36 am 
Igor SysoevFeb 19, 2007 10:59 am 
Jonathan DanceFeb 19, 2007 1:38 pm 
Jonathan DanceFeb 19, 2007 1:47 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: php/fastcgi + phpMyAdmin => Trailing Dot IssueActions...
From:Jonathan Dance (jd-a@public.gmane.org)
Date:Feb 19, 2007 1:38:09 pm
List:ru.sysoev.nginx

Does the "hostname" command show hostname with a trailing dot ?

I presume you mean in PHP or phpMyAdmin? In PHP, I just did a <? print_r($_SERVER); ?> and the HTTP_HOST and SERVER_NAME looks fine (no trailing dot). Thus, I am really beginning to think this is a phpMyAdmin-specific issue. I will have to try to dig through what they're doing.

Is a "server_name" directive in nginx's phpmyadmin.sitename.com "server {}" block ?

Yes. Here is the entire config for the site. The included fcgi.conf is the complete list of FastCGI parameters as suggested in the wiki.

server { server_name db.site.com; access_log /blah/blah/log main; root /usr/share/phpmyadmin; index index.php;

listen 80;

location ~ .php$ { include /etc/nginx/fcgi.conf; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /usr/share/phpmyadmin$fastcgi_script_name; } }