Paewhiri Mana CWPMe aha ahau ki te whiwhi ahau i te hapa 500 i muri i te whakauru i tetahi tiwhikete SSL Tukuna Whakamuna?
I muri i te whakaurunga whakamatautau Letsencrypt, ka uru atu ki te wharangi https, ka whakaatuhia he karere hapa 500, penei:
Hapa Hapa Roto
I raru te kaituku i te hapa o roto i te whirihoranga ranei kaore i taea te whakaoti i to tono.
Ko te whakamaoritanga e whai ake nei:
hapa tūmau ā-roto
I raru te tūmau i tētahi hapa ā-roto, he whirihoranga hē rānei, ā, kāore i taea te whakaoti i tō tono.
pātai:Me pehea te whakaoti i tenei raru?
whakahoki:i muriKo Chen WeiliangI kitea e te whakamatautau na te mea kaore i whakauruhia te roopu kaiwhakamahi suPHP_UserGroup ki te konae whirihoranga Apache.
Akoranga
<Directory "/home/xx/public_html"> AllowOverride All suPHP_UserGroup xx xx </Directory>
Anei nga korero katoa mo Apache ki te whirihora i te SSL (tohu kia kore e korero me te huri i te huarahi ki a koe ake):
<VirtualHost *:443> DocumentRoot /home/admin/web/chenweiliang.com/public_html //网站目录 ServerName www.chenweiliang.com:443 //域名 ServerAdmin [email protected] //邮箱 ErrorLog "/var/log/www.chenweiliang.com-error_log" //错误日志 CustomLog "/var/log/www.chenweiliang.com-access_log" common //访问日志 SSLEngine on SSLCertificateFile /etc/letsencrypt/live/www.chenweiliang.com/fullchain.pem //之前生成的证书 SSLCertificateKeyFile /etc/letsencrypt/live/www.chenweiliang.com/privkey.pem //之前生成的密钥 <Directory "/home/admin/web/chenweiliang.com/public_html"> //网站目录 SetOutputFilter DEFLATE Options FollowSymLinks AllowOverride All suPHP_UserGroup eloha eloha //用户组(有些服务器配置需要,有些可能不需要,出错请删除此行) Order allow,deny Allow from all DirectoryIndex index.html index.phps </Directory> </VirtualHost>
Hei whakamutunga ka whakaara ano i te apache ki runga:
service httpd restart
Mena he hapa tonu, tirohia tenei tuhinga mo nga taipitopito:
Pānuitanga roa:
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "Me aha ahau ki te whiwhi ahau i te hapa 500 i muri i te whakauru i te Tiwhikete Whakamuna SSL i roto i te paewhiri mana CWP? , hei awhina i a koe.
Nau mai ki te tohatoha i te hono o tenei tuhinga:https://www.chenweiliang.com/cwl-534.html
Nau mai ki te hongere Telegram o te blog a Chen Weiliang ki te tiki i nga korero hou!
📚 He uara nui tenei aratohu, 🌟He waahi onge tenei, kaua e ngaro! ⏰⌛💨
Tohaina me te pai ki te pai koe!
Ko to tiritiri me o hiahia ko to maatau hihiri tonu!