Tag Archives: RewriteEngine

Howto force/redirect the use of https rather than http

السلام عليكم ورحمة الله وبركاته إذا كان لديك موقع تريد فرض إستعمال HTTPS على المتصفحون بدل من إستعمال HTTP فكل ما عليك فعله هو: Redirect permanent / https://www.arabnix.com/ RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} هذا الكود ضعه في … Continue reading

Posted in Apache/Tomcat, Linux Security, Linux Services, Security, Web Security | Tagged , , , , | 8 Comments