Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM Access to files with AJAX
#1
Hi, I have a problem with AJAX that occurs only in GetSimple.
I have a page the URL of which in browser's address bar is (schematically): http://localhost/installation-folder/parent/page1/ and I want to insert a content in it (after click event) from the file the location of which is (schematically) installation-folder/data/pages/page2.xml. So, I address the source file with ".../.../data/pages/page2.xml" in my script. But if the click event occurs, nothing happens, only an error appears in the browser's console which reads: POST XHR http://localhost/nts/data/pages/f55.xml [HTTP/1.1 403 Forbidden 0ms]. If I tested the script with the same files on localhost ouside GetSimple or in a server in internet (also outside GetSimple) it worked fine. All files in the data/pages folder have permissions 755. I have no idea what can be the cause of this malfunction.
Reply


Messages In This Thread
Access to files with AJAX - by lotova - 2017-08-13, 00:01:46
RE: Access to files with AJAX - by shawn_a - 2017-08-13, 00:47:51
RE: Access to files with AJAX - by Bigin - 2017-08-13, 00:59:37
RE: Access to files with AJAX - by lotova - 2017-08-14, 17:01:47
RE: Access to files with AJAX - by shawn_a - 2017-08-13, 01:02:25
RE: Access to files with AJAX - by Bigin - 2017-08-14, 19:20:12
RE: Access to files with AJAX - by roy_b8te - 2017-08-19, 07:19:23
RE: Access to files with AJAX - by Bigin - 2017-08-19, 16:40:31
RE: Access to files with AJAX - by roy_b8te - 2017-08-19, 17:57:03
RE: Access to files with AJAX - by Bigin - 2017-08-19, 18:25:32
RE: Access to files with AJAX - by roy_b8te - 2017-08-20, 20:49:09
RE: Access to files with AJAX - by shawn_a - 2017-08-20, 05:36:18



Users browsing this thread: 1 Guest(s)