Adam Yee
2009-07-02 19:13:58 UTC
I'm in the process of putting my site into production state on Apache
2.2.11 with mod_wsgi 2.5 (using TG1.1). The Ajax request works fine
in the development server, but it doesn't for Apache. Keeps looking
to the document root '/var/www/html' for the server-side script '/
login_json' as seen in Apache the error_log.
[Thu Jul 02 11:17:52 2009] [error] [client 192.168.1.164] File does
not exist: /var/www/html/login_json, referer: http://192.168.1.164/interview/
Here is my javascript and server-side script http://dpaste.com/hold/62591/
Other standard http requests to different pages are working
correctly. How do I get my javascript to look to the correct URL?
I've tried replacing '/login_json' with 'http://192.168.1.164/
interview/login_json' (also used 127.0.0.1) but no change.
Thanks,
Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to ***@googlegroups.com
To unsubscribe from this group, send email to turbogears+***@googlegroups.com
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---
2.2.11 with mod_wsgi 2.5 (using TG1.1). The Ajax request works fine
in the development server, but it doesn't for Apache. Keeps looking
to the document root '/var/www/html' for the server-side script '/
login_json' as seen in Apache the error_log.
[Thu Jul 02 11:17:52 2009] [error] [client 192.168.1.164] File does
not exist: /var/www/html/login_json, referer: http://192.168.1.164/interview/
Here is my javascript and server-side script http://dpaste.com/hold/62591/
Other standard http requests to different pages are working
correctly. How do I get my javascript to look to the correct URL?
I've tried replacing '/login_json' with 'http://192.168.1.164/
interview/login_json' (also used 127.0.0.1) but no change.
Thanks,
Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to ***@googlegroups.com
To unsubscribe from this group, send email to turbogears+***@googlegroups.com
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---