Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5842161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:58:54+00:00 2026-05-22T11:58:54+00:00

I have set up 2 apache servers, one for 80 port and second for

  • 0

I have set up 2 apache servers, one for 80 port and second for 443 HTTPS. The same domain is accessible via http://www.domain.com and https://www.domain.com. HTTPS seems to work fine, if I access the web by using a browser, page loads fine.

I have script http://www.domain.com/ajax.php which works fine on both 80 and 443, when accessed by browser (Chrome, FF, IE, ..), but in my page I use Jquery for POST ajax queries. When I do following, nothing happens, in Developer Tools in Chrome I just see, that the request is “pending” and no output from the server whatsoever.

$.post('https://www.domain.com/ajax.php?action=test', {}, function() {});

Could there be an issue, that the page making request is on HTTP connection and the ajax request uses HTTPS ? Or is there some other reason for this strange behaviour ? Also strange is, that regular page loads fine, e.g. https://www.domain.com/ – no problem. The problem with pending requests appears only with AJAX calls.

EDIT:

I don’t know if it is any important, but here is output from error_log of this Apache2-SSL server when one AJAX call was made:

[Thu May 19 21:05:30 2011] [info] [client 84.16.x.x] Connection to child 0 established (server www.domain.com:443)
[Thu May 19 21:05:30 2011] [info] Seeding PRNG with 144 bytes of entropy
[Thu May 19 21:05:30 2011] [info] [client 84.16.x.x] (70014)End of file found: SSL handshake interrupted by system [Hint: Stop button pressed in browser?!]
[Thu May 19 21:05:30 2011] [info] [client 84.16.x.x] Connection closed to child 0 with abortive shutdown (server www.domain.com:443)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T11:58:55+00:00Added an answer on May 22, 2026 at 11:58 am

    Making a post request from a http page to a https page will unfortunately result in (sort of) a cross-domain error. It will as you saw end with nothing. The workaround is to use JSON to fetch your data from your http page to your https page. Read this article and you’ll be able to fix it. Good luck man!
    Other links you might need:

    Jquery API – JSON

    Cross domain requests (scroll down for JSON)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two apache servers set up. One is public facing, the other is
I have set up transactional replication between two SQL Servers on different ends of
I have a Pylons app that I'm trying to set up using Apache and
I have apache running on different servers, I would like to rsync log files
I have 2 different web servers on a Debian Lenny machine. One is running
I have a php script http://example.com/myapp/myscript.php running on an Apache server. I call this
We have set up a system where notifications get sent to a user with
I have set a canvas' background to an image of a company logo. I
I have set up a version control system using TortoiseSVN at my home to
I have set up a Django application that uses images. I think I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.