You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a staging server and a production server one is using the D7 branch and one the master branch. I have created a views services output which normally creates an xml and json file. On the master branch this is no problem but on the D7 branch - which is my production server, the xml suffix results in a 404. The xml file is created as i can see it without the suffix but i cant import it as a feed as I think it doesnt like the omission of the xml suffix. The drupal installs are using the exact same code base. I am hesitant to switch to master on live. Any idea what might be different in the two branches to cause this issue? I have looked the changes on the github repo between branches but nothing is looking obvious to me. Thanks in advance.
The text was updated successfully, but these errors were encountered:
Try to change location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|html|xml|otf|ttf|eot|woff|svg)$ {
to location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|html|otf|ttf|eot|woff|svg)$ {
on line 120 of apps/drupal/drupal.conf
Thanks for your response. I would think that would be the solution. I tried changing adding xml on the server that was working and I got a 404 and then added a json and browsed the json export and again correctly got a 404. However when I add json to the drupal.conf on the server where .xml files not showing, the json is still found, and removing the xml as you stated, doesnt make the .xml file found. So it seems that these server settings are being ignore or overridden. The vhost file is definitely pointing to drupal.conf.
I have a staging server and a production server one is using the D7 branch and one the master branch. I have created a views services output which normally creates an xml and json file. On the master branch this is no problem but on the D7 branch - which is my production server, the xml suffix results in a 404. The xml file is created as i can see it without the suffix but i cant import it as a feed as I think it doesnt like the omission of the xml suffix. The drupal installs are using the exact same code base. I am hesitant to switch to master on live. Any idea what might be different in the two branches to cause this issue? I have looked the changes on the github repo between branches but nothing is looking obvious to me. Thanks in advance.
The text was updated successfully, but these errors were encountered: