Closed (outdated)
Project:
Rate
Version:
7.x-1.7
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2014 at 04:51 UTC
Updated:
18 Sep 2025 at 12:53 UTC
Jump to comment: Most recent
Rate widget not working with nginx. Please help.
Comments
Comment #1
rachidik commentedi meet the same Problem..Its big problem in my website...
any one help as to fix this problem?
Thx
Comment #2
damienmckennaCan you please describe more clearly what functionality doesn't work, and whether it behaves differently for authenticated or anonymous users?
Comment #3
rachidik commentedfor me i use this module version 7.x-4.x-dev for https://drupal.org/project/answers .
voting for question on my site on Nginx not working ( note calculate and save vote) , but work fine in apache web server.
i have same problem on other web site use rate module : when i click sur Thumbs up , no change ...no save vote, only in webserver nginx i receive this probleme.
any Help??!!!
Comment #4
proxima8 commentedTry to reach "/rate/vote/js" url on your server.
If you get "404 Not Found" page you should check your nginx.conf file,
look for something like this:
location ~* ^.+.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {in my conf there was unshielded dot in condition, so nginx will try to statically serve not only .js files, but /js directories too!
Change the condition to:
location ~* \.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {and it will be work just fine
Comment #5
ivnishDrupal 7 is EOL. Issue will be closed