Forums / Developer / ajax form call?

ajax form call?

Author Message

Noicokuna Niemoge

Wednesday 04 March 2009 7:16:20 am

Hello;

I've written a script that works on plain html file. It's about sending an ajax request through a form to my script ajax.form.php, the results of which are shown in a div.

How to make it work in eZ?

All what I get is that engine keeps redirecting me to the home page (and my script name is in address bar), or to the script itself (if it's outside eZ root).

Maybe there's a way to exclude the ajax.form.php file from htaccess rewrite rules?

Shiki soku ze ku...

Noicokuna Niemoge

Wednesday 04 March 2009 7:52:40 am

Ok, I solved it.

I put a folder inside ez root, created .htaccess with a line "RewriteEngine Off", placed there all my scripts and now it works. :)

Shiki soku ze ku...