Abdalmonem Tharwat Galila wrote: > > > > > > *From:* resin-interest-boun...@caucho.com > [mailto:resin-interest-boun...@caucho.com] *On Behalf Of *Abdalmonem > Tharwat Galila > *Sent:* 30 أبريل, 2010 09:59 م > *To:* resin-interest@caucho.com > *Subject:* [Resin-interest] Adding port 80 to resin.conf > *Importance:* High > > > > When I add <http address=”*” port=80> to resin.conf to redirect the > user from http://localhost to https://localhost , all website can > working in http , but I want all site to work in https. “Problem No 1”. > > I want login.jsp to work in https only. > The cleanest solution is probably to create two separate virtual hosts, because you want the http vs https to act like different sites.
The configuration would look something like: <resin ... <cluster id=""> ... <host id="hostname"> ... <!-- port 80 --> </host> <host id="hostname:443"> <!-- ssl --> </host> -- Scott > > > > > > All the Best, > > Abdalmonem Tharwat Galila > > System Engineer , > > Technical Resources Department. > > Ministry of Communications & Information Technology > > Office Tel.: +2 02 35341582 - +2 02 35341300 > > Mobile: +2 010 0049068 > > Fax : +2 02 35370537 > > Website: http:\\www.mcit.gov.eg <http://www.mcit.gov.eg/> > > E-mail: agal...@mcit.gov.eg <mailto:agal...@mcit.gov.eg> > > > > ------------------------------------------------------------------------ > > _______________________________________________ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest > _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest