RE: how do i redirect web trafic from port 80 to 443

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Alexander Dalloz [mailto:alexander.dalloz@xxxxxxxxxxxxxxxx]
> Sent: Monday, January 05, 2004 9:02 AM
> To: fedora-list@xxxxxxxxxx
> 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 

 




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux