[CentOS-es] nginx con cacti y phpmyadmin
troxlinux
xserverlinux en gmail.com
Mar Nov 26 22:50:39 UTC 2013
hola lista , estoy tratando de hacer correr el cacti con nginx 1.4.x , pero
no me esta corriendo
les posteo mi conf de nginx a ver en que me falla
location ~ \.php$ {
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/vhost/
sip.domain.com.cc/htdocs$fastcgi_script_name;
fastcgi_read_timeout 300;
}
location /cacti {
root /usr/share;
index index.php index.html index.htm;
location ~ ^/cacti/(.+\.php)$ {
try_files $uri =404;
root /usr/share/;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
$document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_buffer_size 128k;
fastcgi_buffers 256 4k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
fastcgi_intercept_errors on;
location ~*
^/cacti/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
root /usr/share/;
}
}
}
location /phpMyAdmin {
root /usr/share/;
index index.php index.html index.htm;
location ~ ^/phpMyAdmin/(.+\.php)$ {
try_files $uri =404;
root /usr/share/;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
$document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_script_name;
fastcgi_buffer_size 128k;
fastcgi_buffers 256 4k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
fastcgi_intercept_errors on;
}
location ~*
^/phpMyAdmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
root /usr/share/;
root /usr/share/;
}
}
# location /phpMyAdmin {
# rewrite ^/* /phpMyAdmin last;
# }
}
#### ERROR ABRIENDO LA PAGINA DE INSTALACION
Invalid PHP_SELF Path
alguna idea?
--
rickygm
http://gnuforever.homelinux.com
Más información sobre la lista de distribución CentOS-es