• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to configure on Plesk 12

Hello, im trying to install Codeigniter for almost 7 hours on Plesk 12. Well, the installation is correct and the framework loads the welcome controler as it should be but the problem cames with the pretty urls. Plesk is using advanced quantum mechanics which take the php requests and passess them from nginx's FPM. However in order to add the pretty urls you need to add few directives (a bunch).

I found this from nginx's site:

index index.php
try_files $uri $uri/ /index.php;
location = /index.php {
    #fastcgi_pass unix:/var/run/php5-fpm.sock;
    fastcgi_index index.php;
    fastcgi_param  SCRIPT_FILENAME /var/www/vhosts/pcbuilds.gr/httpdocs$fastcgi_script_name;
    include fastcgi_params;
location ~ \.php$ {
    return 444;
I dont really know which fastcgi_pass should i use. Both of them are downloading an emtpy file. Any ideas on how to make it work?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.