We have multi site server running 2004.5 and a4d 4 in both a https (443) and
http (80) environment.
We have some issues with ajax on one site where people are connecting to the
https url (incorrectly) and then ajax not working correctly. So we want to
redirct them to the non-secure site.
I have set up 2 folders: site1 and site1-ssl
site1 contains the actual application where site1-ssl simply contains an
index.a4d file with a redirect to the non-secure site1:
redirect ('http://site1.domain.com")
the vhosts file for the site has:
* site1.domain.com:80 * sites/AIDU index.a4d
* site1.domain.com:443 * sites/aidu-ssl index.a4d
* site1.domain.com * * *
The issue is that when the user uses url:
https://site1.domain.com:443
it works great and the user is redirected to the non-secure site.
But when the (more common) url is:
http://site1.domain.com
They get the default page in the web folder. So apparently, the request
does not come across as 443. Or the a4d vhosts file does not recognize
https:// as equivalent to :443
Is there a way around this?
Thanks,
Michael Check
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/