how do i redirect web trafic from port 80 to 443

jpearl24 jpearl24 at cox.net
Mon Jan 5 07:23:24 UTC 2004


On Sun, 2004-01-04 at 23:55, Robert L Cochran wrote:
> Instead of a service restart, maybe you need to reboot the machine 
> entirely.
> 
> Bob
> 
> 
> Ow Mun Heng wrote:
> 
> > 
> >>-----Original Message-----
> >>From: Alexander Dalloz [mailto:alexander.dalloz at uni-bielefeld.de]
> >>Sent: Monday, January 05, 2004 9:02 AM
> >>To: fedora-list at redhat.com
> >>Subject: Re: how do i redirect web trafic from port 80 to 443
> > 
> > 
> >>Probably you want to enforce a redirection webpage calls on 
> >>your Apache with HTTP to a HTTPS site. You can do that for 
> >>instance this way using mod_rewrite:
> >>
> >><Directory /var/www/html/phpMyAdmin>
> >>    RewriteEngine       on
> >>    RewriteCond         %{SERVER_PORT} !=443
> >>    RewriteRule         ^.* - [F]
> >>    ErrorDocument       403 https://www.otherdomain.tld/
> >></Directory>
> >>
> >>So if you access http://www.domain.de/phpMyAdmin/ (which is 
> >>port 80) you
> > 
> > 
> > 
> > I tried that on the webserver but no joy. (yes.. i did a service restart)
> > Actually, I can't access https://my.ipaddress.com but I can access
> > http://my.ipaddress.com:443
> > 
> >  
> > 
> > 
> > --
> > fedora-list mailing list
> > fedora-list at redhat.com
> > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> > 
> > 

i htink its cuz u have to have ssl enabled.. 
-- 
jason pearl <jpearl24 at cox.net>
   ++++++++++++++++++
"Keep your friends close and your enemies closer"-Tupac
   ++++++++++++++++++
Kurrupted Visionz Phx, AZ    registered linux user #307811
MDK 9.2 Linux                Machine# 193475, 227341
AMD64 Opteron 1.6 http://counter.li.org
ASUS SK8N
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040105/4f59b20c/attachment-0001.sig>


More information about the fedora-list mailing list