Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Ajax post request, not finding correct url - 404
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Adam Yee  
View profile  
 More options Jul 2, 3:13 pm
From: Adam Yee <adamj...@gmail.com>
Date: Thu, 2 Jul 2009 12:13:58 -0700 (PDT)
Local: Thurs, Jul 2 2009 3:13 pm
Subject: Ajax post request, not finding correct url - 404
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google