Changes to the OMV box – eXtplorer

Added eXtplorer to the OMV box today.

The config uses the latest version from here –> http://extplorer.net/projects/extplorer/files

Used a sensible local location for the files.

Changed permission to allow www-data to be user and group.

Followed the instructions here –> http://extplorer.net/projects/extplorer/wiki/Getting_Started

Stand Alone Installation
1. Extract the downloaded Archive to a local directory, say C:\Files\extplorer
2. Login to your server via FTP and create a subdirectory for eXtplorer, say /extplorer
3. Allow write access for your webserver for that subdirectory and the subdirectory /extplorer/ftp_tmp (e.g. chmod 777)
4. With your FTP program browse to the eXtplorer directory /config and make the file “.htusers.php” writable (CHMOD 666).
5. Upload all eXtplorer files from your computer into the subdirectory on the server
6. Browse to the URL and login (user: admin, pass: admin).
7. Remembered to immediately change the admin password.

Added into OMV an Nginx server root with www-data as the user and group but otherwise used the defaults.

Added a new .conf file into /etc/nginx/openmendiavault-webgui.d folder.

location /extplorer {
    alias /xx/xx/eXtplorer;

    index index.php;
    try_files $uri $uri/ index.php;

    location ~ \.php$ {
        include fastcgi.conf;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $request_filename;
        fastcgi_pass unix:/var/run/xxx.sock;
    }

    location ~ /extplorer/\. {
        deny all;
    }

    location ~* /extplorer/(?:config)/.*\.php$ {
        deny all;
    }

    location ~* /extplorer/\.(js|css|png|jpg|jpeg|gif|ico)$ {
        expires max;
        log_not_found off;
    }
}

Leave a Reply

Your email address will not be published. Required fields are marked *