Re: Convert the url of a DirectAction
Trond Kandal <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
FRANSSEN Simon wrote:
> Hello,
> I made a website for which you go threw the connections window by a
> DirectAction. The problem is that I must now convert this site into a
> secured site. The url have been already send to the customer that's why
> I would like to convert a HTTP url that I receive to a HTTPS url. Like
> that the custumers will be able to get connected without any problems
> and they won't see any difference. Is there anyone who had a similar
> problem and have a solution to this problem?
>
hello
at our site we use a rewriterule for apache.
<VirtualHost machine.domain.no:80>
DocumentRoot /vhost/wo.domain.no/htdocs
ServerName wo.domain.no
RewriteEngine on
RewriteRule /cgi-bin/WebObjects/(.*) https://wo.domain.no/cgi-
bin/WebObjects/$1 [R]
</VirtualHost>
<VirtualHost machine.domain.no:443>
ServerName wo.domain.no
DocumentRoot /vhost/wo.domain.no/shtdocs
ScriptAlias /cgi-bin /vhost/wo.domain.no/cgi-bin/
RewriteEngine on
SSLEngine on
SSLCertificateFile /local/apache/conf/ssl.crt/wo.domain.no.crt-2005
SSLCertificateKeyFile /local/apache/conf/ssl.key/wo.domain.no.key
</VirtualHost>
hope that helps.
trond.
--
Trond Kandal Organisasjonsavd. voice: +47 73597497
Integrasjonsgruppa NTNU mobile:+47 91897110
IT-seksjonen 7491 Trondheim fax: +47 73598200
http://www.itea.ntnu.no/integrasjon
This is Unix land.
In quiet nights you can hear M$-Windoze machines reboot.