Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Неоткрывается (404) phpmyadmin
- To: nginx-ru@xxxxxxxxx
- Subject: Re: Неоткрывается (404) phpmyadmin
- From: "hg_04" <nginx-forum@xxxxxxxx>
- Date: Thu, 27 May 2010 08:02:31 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=q8hruhpPgWaZMZxqer3Disy0QwZb9By89YR6zlVSfEA=; b=ABCxQxs5G1CsHnfrRbFjs11TnmfHRWhsS1yCwGHHMiMHXerNN4kBK9ZEEFbRgo63fMdlpsV7FkoUlyIt6O/NZzhyaOGrn7tq6eJN+qe47pU/M9CATaPlhBa1riC3fHiq;
- In-reply-to: <4BFD992F.10308@xxxxxxxxx>
- References: <4BFD992F.10308@xxxxxxxxx>
в итоге должно получится вот так
[code]
index index.php;
location /phpmyadmin{
alias /usr/share/phpmyadmin;
}
location ~ ^/phpmyadmin/.+\.php$ {
rewrite ^/phpmyadmin(/.+)$ $1 break;
fastcgi_pass 127.0.0.1:9000;
include /etc/nginx/fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
/usr/share/phpmyadmin$fastcgi_script_name;
}
[/code]
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,90670,90904#msg-90904
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|