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


Date de la dernière modification : 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.

Est-ce que cet article a été utile ?

26% des utilisateurs pensent que ces informations sont utiles.
Merci pour votre commentaire.

Veuillez nous indiquer comment améliorer cet article :

Si vous souhaitez fournir un commentaire supplémentaire, veuillez l’inclure ci-dessous.

Choisissez une spécification

      En voir davantage Moins

      Ce site est disponible dans d'autres pays/régions :

      open menu
      back to top