How to manually load Apache Web Server modules on a NAS?


最後修訂日期: 2019-02-21
Applicable Products:
  • Web Server

Editing apache.conf

  1. Use SSH to log in to the NAS.

  2. Use a screen-oriented text editor to edit apache.conf.

    1. Open /etc/config/apache/apache.conf
    2. Add any additional modules.
      For example: LoadModule allowmethods_module modules/mod_allowmethods.so
    3. Save and exit.
  3. Use the command /etc/init.d/Qthttpd.sh restart to reload Apache modules.
     

Viewing and confirming available Apache modules

  1. Use the command ls -a /usr/local/apache/modules to see available Apache module list
    img.
  2. Use the command /usr/local/apache/bin/apachectl -M to confirm the Apache modules after reload .
    img.

Undoing changes to apache.conf

  1. Log in to QTS as an administrator.
  2. Go to Control Panel > Applications > Web Server > Web Server > Maintenance.
  3. Click Restore.

這篇文章有幫助嗎?

26% 的人認為有幫助。
謝謝您,我們已經收到您的意見。

請告訴我們如何改進這篇文章:

如果您想提供其他意見,請於下方輸入。

選擇規格

      顯示更多 隱藏更多

      選擇其他偏好的語言:

      open menu
      back to top