Welcome! Log In Create A New Profile

Advanced

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

Posted by t3ch 
index.php work. index.php&login=true dont work
December 27, 2012 08:23AM
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;
}
}
Re: index.php work. index.php&login=true dont work
December 27, 2012 06:46PM
i am using now POST method insted of GET.

love & light to every one.
Re: index.php work. index.php&login=true dont work
December 29, 2012 11:00AM
ok now i se what was the problem.. :) i need to use ? and not & :)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 225
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready