作者lyu0001 (鄉民1號)
看板Web_Design
標題[問題] 有人架設過synology 多個網站嗎?
時間Wed Jul 13 16:19:58 2016
目前DS216j有架設三個網站,網路架構如下 (DSM 6.0)
WAN-router-LAN-Diskstation
網站資料夾 Volume1/web/wordpress file
LAN Status
Default site1 /wordpress 192.168.1.XXX/wordpress ok
site2 /wordpress2 192.168.1.XXX/wordpress2 ok
site3 /wordpress3 192.168.1.XXX/wordpress3 ok
Site WAN Status
Site1 xxx.xxx.xxx.xxx/wordpress ok
Site2 xxx.xxx.xxx.xxx/wordpress2 bad
Site3 xxx.xxx.xxx.xxx/wordpress3 bad
另外有permalink問題還沒解決 (目前只能預設default,其他permalink會出現404)
寫信給客服,也沒具體解決方法 Orz
不曉得請人解決要花多少錢
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.163.120.187
※ 文章網址: https://www.ptt.cc/bbs/Web_Design/M.1468398000.A.E48.html
推 alpe: 我有弄過,但很久了。要回家看一下設定 07/13 17:22
推 howie7853: 關於permalink, 可以試試下列方法 vim /etc/apache2/si 07/13 19:16
→ howie7853: tes-available/000-default.conf 07/13 19:16
→ howie7853: 把以下這句加在最後面 : 07/13 19:16
→ howie7853: AllowOverride All 07/13 19:16
→ howie7853: 之前在aws有遇過同樣問題,但不知synology是否如此 07/13 19:18
感謝客服Allen工程師幫忙,已順利解決外連問題。
無法外連原因:權限未設定開放http
權限設定
1.選取wordpress資料夾,點選右鍵,選擇properties
http://i.imgur.com/geYuYIY.png
2.owner使用者設定為http
http://i.imgur.com/Q8oUaC7.png
http://i.imgur.com/lOtShHw.png
檢視permission,理論上http開放read權限,就可以外連了
http://i.imgur.com/RNua1zv.png
※ 編輯: lyu0001 (123.192.208.114), 07/21/2016 19:19:21