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


Senaste ändringsdatum: 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.

Var den här artikeln till hjälp?

Användare som tyckte detta var användbart 26% procent.
Tack för din feedback.

Berätta för oss hur vi kan förbättra artikeln:

Ge oss fler synpunkter genom att skriva dem nedan.

Välj specifikation

      Visa fler Färre

      Denna webbplats i andra länder/regioner:

      open menu
      back to top