|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Cert warning on my site
On the website I maintain, we just noticed that we are getting a cert warning when going from http://domain.com to https://domain.com/something.
The problem is that the cert is registered only for www.domain.com. There are only a few folders on the site that are SSL. Is there any easier way to code in the www prefix than to go in the pages and prepend the full URL with the www, using an application variable? It seems this would be a common problem that there must be a simple fix, since you can't register a SSL cert with both www.domain.com and domain.com (you can use a *.domain.com cert, but that costs much more). Any suggestions for an easy remedy are greatly appreciated. |
|
#2
|
|||
|
|||
|
Fyi, the site is ASP with vbscript and a vb 6 backend.
|
|
#3
|
|||
|
|||
|
Moved from the asp forum.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#4
|
|||
|
|||
|
If you have access to the server then you can install an ISAPI URL Rewrite component.
This will allow you to rewite a rule to check the domain name and redirect to www if no www is found. An alternative is to have an ASP function to check the SERVER_NAME variable and if it is not www. then redirect to www.
__________________
CyberTechHelp |
![]() |
| Viewing: ASP Free Forums > Web Design > Windows Web Hosting > Cert warning on my site |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|