Results 1 to 11 of 11
Thread: SSL
Hybrid View
-
2nd February 2015 16:34 #1
SSL
!
, + , ( -
, )
SSL .
http:// www. https://, https://www https://.
.htaccess e:
- , http://www :Code:RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} !^example\.sk [NC] RewriteRule (.*) https://example.sk/$1 [R=301,L] #RewriteCond %{SERVER_PORT} ^443$ #RewriteRule (.*) https://example.sk/$1 [R=301,L]
* example.com,Code:RewriteEngine On RewriteBase / Options +FollowSymlinks RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^.]+)$ $1.php [NC,L] RewriteCond %{HTTPS} off RewriteRule ^secure-page.php$ https://example.com/secure-page [L,R=301] RewriteCond %{HTTPS} off RewriteRule ^secure-page/ secure-page [R=301,L] RewriteCond %{HTTPS} on RewriteRule ^secure-page/ secure-page [R=301,L] RewriteCond %{HTTP_HOST} ^[^.]+.[^.]+$ RewriteCond %{HTTPS}s ^on(s)| RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTP_HOST} ^[^.]+.[^.]+$ RewriteCond %{HTTPS}s ^on(s)| RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
,
.
-
2nd February 2015 19:02 #2
Join Date: Apr:2006
Location:
Posts: 8,666
-
2nd February 2015 20:01 #3
,
. www.example.com example.com, . - https://example.com, .
- RewriteCond %{HTTP_HOST} ^site\.(.*)$ [NC] - - .Code:<ifModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTPS} off [NC,OR] RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC,OR] RewriteCond %{HTTP_HOST} ^site\.(.*)$ [NC] RewriteRule (.*) https://example.com%{REQUEST_URI} [R=301] </ifModule>
, . - 301.Code:<ifModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTPS} off [NC,OR] RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule (.*) https://example.com%{REQUEST_URI} [R=301] </ifModule>
.. pictures.example.com, , 1-2 .
... , .Last edited by teou; 3rd February 2015 at 18:19. Reason:
-
3rd February 2015 15:49 #4
, , teou. , , www http https. , .
, " " , .
, , www | http | https://www https.
-
3rd February 2015 18:28 #5
/, , . ( , , ), .
: ., ://......
, , . . , - . ://., .
-
4th February 2015 14:03 #6
, teou .
, .
rewrite_log, .
, . , .
, ..:
.htaccess , ? .htaccess webRootDir? ?Code:ServerAlias www.example.com
-
6th February 2015 10:57 #7
, , non-www. , . Cloudflare .
- http:// www https://;
https://www https:// .
.
, , https, , .
- wp index.php /.
. , , , www, https:// https://wwwCode:<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://estavisa.gr/$1 [R=301,L] # Check that you're on port 443 and the hostname starts with www RewriteCond %{SERVER_PORT} ^443 RewriteCond %{HTTP_HOST} ^www\. # Redirect to domain without the www RewriteRule (.*) https://estavisa.gr$1 [L,R,QSA] RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
-
6th February 2015 11:14 #8
.
, . .. . - , www.
https://www.estavisa.gr? , ? , ?
, , , , . , , . . . .
-
6th February 2015 21:20 #9
, . , , (, , ).
. startssl.
-
18th February 2015 19:44 #10
-
18th February 2015 22:38 #11




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in