Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

index.php work. index.php&login=true dont work

$
0
0
Hello all,

I have problem with accessing index.php&login=true. It gives 404 error. But when i try to access only index.php it works.

here is config: sites-available/localhost.conf

server {
listen 80;
server_name localhost;
access_log /var/log/nginx/localhost.access.log;
error_log /var/log/nginx/localhost.error.log;

root /home/user/www/localhost/htdocs;
#autoindex on;

location /pma {
index index.php;
}

location / {
index index.php;
}

location ~ \.php$ {
# Filter out arbitrary code execution
#location ~ \..*/.*\.php$ {return 404;}

include fastcgi_params;
fastcgi_pass localhost:9000;
#fastcgi_pass unix:/var/run/php5-fpm.socket;
#fastcgi_pass localhost;
}
}

Viewing all articles
Browse latest Browse all 972


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>