文档

Bitnami 服务器的配置

If you are using a Bitnami server, please follow the steps below for the Xilifox Image Optimizer plugin to work properly.

  • 步 1. #

    Log in to your hosting dashboard and start an SSH connection to your website.

  • 步 2. #

    Go to the host configuration directory using the command:

    cd /opt/bitnami/apache/conf/vhosts/

    Use the command to list the files in a directory:

    ls -l

    Find files matching the pattern: APPNAME-vhost.confAPPNAME-https-vhost.conf. These will always be two files with the same APPNAME prefix (the APPNAME prefix will be the name of your app). These files will be needed in the next steps. Our example includes the wordpress-vhost.confwordpress-https-vhost.conf files.

  • 步 3. #

    Edit the wordpress-vhost.conf configuration file using the command (on your server it may be another file matching the pattern: APPNAME-vhost.conf):

    sudo nano wordpress-vhost.conf

  • 步 4. #

    Find the “AllowOverride None” line and replace it with “AllowOverride All”.

  • 步 5. #

    Exit the file (using the keyboard combination: Control + X) and save your changes.

  • 步 6. #

    Edit the wordpress-https-vhost.conf configuration file using the command (on your server it may be another file matching the pattern: APPNAME-https-vhost.conf):

    sudo nano wordpress-https-vhost.conf

  • 步 7. #

    Do the same as in steps 4 和 5.

  • 步 8. #

    Restart the Apache service using the command:

    sudo /opt/bitnami/ctlscript.sh restart apache

  • 步 9. #

    就这样! Our plugin will work properly.

不是您正在寻找的解决方案?

请检查其他 文章 或打开一个 工单.