how do i redirect web trafic from port 80 to 443

Christoph Wickert christoph.wickert at web.de
Sun Jan 4 20:03:18 UTC 2004


Just an example. I'm redirecting from port 4080 to 80

...
RewriteEngine       on
#ProxyRequests        on
RewriteRule /mldonkey http://myserver:4080/$1 [P,L]
RewriteRule /(submit.*) http://myserver:4080/$1 [P,L]
RewriteRule /(files.*) http://myserver:4080/$1 [P,L]
#ProxyPassReverse /(.*)  http://myserver:4080/$1
...

more info:
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html

Christoph







More information about the fedora-list mailing list