RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^(sub1)\. [NC] RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
بجای sub1 اسم ساب دامینتو بزار.
سلام
ممنون از کدی که دادید ، قرار دادم ، ارور زیر میاد:
Secure Connection Failed
An error occurred during a connection to client.azarinweb.com. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)