PHP can't run under alias folder

e123e123e123 nginx-forum at nginx.us
Sat Jul 18 12:15:34 MSD 2009


> location ~ ^/phpmyadmin/(.*\.php)$ {
> alias /home/httpd/html/phpmyadmin/$1;
> fastcgi_pass ...;
> fastcgi_index ...;
> include ...;
> fastcgi_param SCRIPT_FILENAME $request_filename;
> }


Thanks for your help , now can run already , but 1 problem is why alias folder can't display .gif or.png file ?
other not alias folder not this problem.

Thanaks.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,4151,4171#msg-4171






More information about the nginx mailing list