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

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

 



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






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

  Powered by Linux