Hi Guys,
Im moving from lighttpd to Nginx, I need to host 2 web applications (mantis and suitecrm) so far I have managed to make it work, but while in suitecrm several link actions trow a 500 Internal error, I have setup files and folders inside the suitecrm to 755 but did not fix the 500 error
Im hosting this on AWS
This is one of the URL that are getting the 500 error
http://ec2-32-1-97-35.compute-1.amazonaws.com/suitecrm/index.php?action=ajaxui#ajaxUILoc=index.php%3Fmodule%3DACLRoles%26action%3DEditView%26return_module%3DACLRoles%26return_action%3DDetailView
This is my nginx vhost config file
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www;
index index.php index.html index.htm;
# Make site accessible from http://localhost/
server_name *.amazonaws.com;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
#mantis
location /mantis {
try_files $uri $uri/ =404;
}
#suitecrm
location /suitecrm {
try_files $uri $uri/ /index.php?$args;
}
What Im doing wrong in the suitecrm location?
Im moving from lighttpd to Nginx, I need to host 2 web applications (mantis and suitecrm) so far I have managed to make it work, but while in suitecrm several link actions trow a 500 Internal error, I have setup files and folders inside the suitecrm to 755 but did not fix the 500 error
Im hosting this on AWS
This is one of the URL that are getting the 500 error
http://ec2-32-1-97-35.compute-1.amazonaws.com/suitecrm/index.php?action=ajaxui#ajaxUILoc=index.php%3Fmodule%3DACLRoles%26action%3DEditView%26return_module%3DACLRoles%26return_action%3DDetailView
This is my nginx vhost config file
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
root /var/www;
index index.php index.html index.htm;
# Make site accessible from http://localhost/
server_name *.amazonaws.com;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
#mantis
location /mantis {
try_files $uri $uri/ =404;
}
#suitecrm
location /suitecrm {
try_files $uri $uri/ /index.php?$args;
}
What Im doing wrong in the suitecrm location?