0
我试图改变一个wordpress ecom插件以通过ssl运行结帐。我设法改变插件使用共享ssl,但不断获取forbiden错误。wordpress - 在wordpress站点上使用共享SSL
下面的工作:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
Options FollowSymLinks IncludesNoExec ExecCGI
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^[a-z0-9-_/]+$ mydomainname.co.uk/index.php
#RewriteCond %{SERVER_PORT} ^80$
#RewriteRule ^index\.php$ - [L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . /index.php [L]
</IfModule>
我以为加入
如果在端口80但是doe,的RewriteCond%{SERVER_PORT} ^(注释掉其他WordPress的东西)80 $
只会触发以下语句似乎没有工作......任何想法的人?
** **工作
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
Options FollowSymLinks IncludesNoExec ExecCGI
RewriteCond %{SERVER_PORT} =443
RewriteRule ^[a-z0-9-_/]+$ mydomain.co.uk/index.php [L]
RewriteCond %{SERVER_PORT} =80
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{SERVER_PORT} =80
RewriteRule . /index.php [L]
</IfModule>
多数民众赞成在一个,增加工作副本质疑 –