Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Requirements?
#6
works great with nginx
when you set "Use Fancy URLs - Requires that your host has mod_rewrite enabled." you must modify /etc/nginx/sites-enabled/www.yoursite.com.conf

server {
server_name www.yoursite.com;
root /var/www/www.yoursite.com;
include /etc/nginx/fastcgi_php;
location / {
index index.php;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php$id=$1 last;
}
}
}
Reply


Messages In This Thread
[SOLVED] Requirements? - by littlebigman - 2010-11-19, 21:55:26
[SOLVED] Requirements? - by yojoe - 2010-11-19, 22:53:16
[SOLVED] Requirements? - by littlebigman - 2010-11-19, 23:04:04
[SOLVED] Requirements? - by yojoe - 2010-11-19, 23:19:04
[SOLVED] Requirements? - by littlebigman - 2010-11-22, 06:26:39
[SOLVED] Requirements? - by marrco - 2010-12-11, 07:57:22



Users browsing this thread: 3 Guest(s)