2 つの .htaccess の書き換えを設定しようとしていますが、実際にどのようになるかはわかりません。
http://www.mysite.com -> http://www.myothersite.com:880
と
https://www.mysite.com -> https://www.myothersite.com:4443
ポート転送の問題に対処するためだけに...
これが私が現在試していることです:
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^cloud\.mysite\.com$ [NC]
RewriteCond %{HTTPS} off
RewriteRule ^ http://mysite.no-ip.org:880%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTP_HOST} ^cloud\.mysite\.com$ [NC]
RewriteCond %{HTTPS} on
RewriteRule ^ https://mysite.no-ip.org:4443%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTP_HOST} ^mysite\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.mysite\.com$
RewriteRule ^/?$ "http\:\/\/www\.mysite\.com\/joomla" [R=301,L]