This works.what happens when you go to domain.com/index.php?account/avatar
I use nginx. All the other URL rewrites work fine.you either haven't copied XenForo's .htaccess to server's root or your server's Apache does not have mod_rewrite support
Can you post your server block here?I use nginx. All the other URL rewrites work fine.
Sure.Can you post your server block here?
    server {
        listen                    80;
        server_name                domain.com www.domain.com;
        return 301                https://domain.com$request_uri;
    }
    server {
        listen                    443 ssl spdy;
        root                    /www/domain.com/public_html;
        index                    index.php index.html;
        ssl                        on;
        * rest of ssl conf *
       
        if ($host = 'www.domain.com' ) {
         rewrite  ^/(.*)$  https://domain.com/$1  permanent;
      }
     
    location / {
        try_files $uri $uri/ /index.php?$uri&$args;
    }
    location /data {
        internal;
        }
    location /internal_data {
        internal;
    }
    location /library {
        internal;
    }
   
    location = /favicon.ico {
        log_not_found off;
        access_log off;
    }
    location = /robots.txt {
        allow all;
        log_not_found off;
        access_log off;
    }
    location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
        expires 365d;
        log_not_found off;
    }
    location ~ /\. {
        deny    all;
    }
    location ~* /(?:uploads|files)/.*\.php$ {
        deny    all;
    }
    location ~*     ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
        access_log off;        log_not_found off; expires max;
    }
   
    location ~* .(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|css|atom|js|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
        expires max; log_not_found off; access_log off;
    }
    location ~ \.php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        try_files $uri =404;
        include /etc/nginx/fastcgi_params;
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_script_name;
        fastcgi_intercept_errors on;
        fastcgi_buffer_size 128k;
        fastcgi_buffers 256 16k;
        fastcgi_busy_buffers_size 256k;
        fastcgi_temp_file_write_size 256k;
        fastcgi_read_timeout 240;
    }
   
    gzip            on;
    gzip_disable    "msie6";
    gzip_vary        on;
    gzip_proxied    any;
    gzip_comp_level    6;
    gzip_buffers    16 8k;
    gzip_http_version 1.1;
    gzip_types text/plain text/css text/javascript text/xml application/json application/javascript application/x-javascript application/xml application/xml+rss application/atom+xml application/rdf+  application/rdf+xml;
}
	try_files $uri =404;
	Nothing. Still the same.from the 'location ~ \.php$' block and see what happens.
okay, I'm officially out of ideasNothing. Still the same.
fastcgi_split_path_info ^(.+\.php)(/.+)$;
	location ~ \.php$ {
   fastcgi_keep_conn on;
   fastcgi_index index.php;
   fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
   include fastcgi_params;
   fastcgi_pass unix:/var/run/php5-fpm-$username.sock;
}
	I've replaced mine with yours.btw, I kept mine pretty simple and no error of any kind:
I've replaced mine with yours.
Restarted nginx
Restarted php5-fpm
Restarted nginx again.
Still nothing.
I'm banging my head up against the wall entire day. :/
server {
listen *:80; ## listen for ipv4
server_name forum.domain.ru www.forum.domain.ru;
access_log /var/log/nginx/forum.log;
root /ssd/var/www/xenforo.domain.ru/html;
index   index.php index.html;
location / {
        try_files $uri $uri/ /index.php?$uri&$args;
    }
    location ~ /(internal_data|library) {
        internal;
    }
    location ~* ^.+.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js|swf)$ {
        access_log  off;
    }
    location ~ \.php$ {
       fastcgi_split_path_info ^(.+\.php)(/.+)$;
        try_files $uri =404;
        fastcgi_pass    unix:/var/run/fastcgi_sock;
        fastcgi_index    index.php;
        fastcgi_param    SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include    fastcgi_params;
    }
}
	We use essential cookies to make this site work, and optional cookies to enhance your experience.