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>
多數民衆贊成在一個,增加工作副本質疑 –