View Single Post
  #3  
Old 14th November 2012, 20:04
HellMind HellMind is offline
Member
 
Join Date: Jul 2008
Posts: 99
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via ICQ to HellMind Send a message via MSN to HellMind
Default

I got the same problem

I you comment

fastcgi_param SCRIPT_NAME $fastcgi_script_name;

you willl fix that redirection

but in the phpmyadmin it ill redircto to / instead /phpmyadmin when login in.


I think the solution is to change the template of the vhost creation for the php entries



location ~ \.php$ {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9059;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_intercept_errors on;
}


I think this line:
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
should be
fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
or something like that
__________________
Ispconfig 3 Latest Version (Stable)
Debian Squeeze (esix vm)
Reply With Quote