Wrapmin allows for Webmin access from a different server directory. It acts as a handy wrapper for accessing Webmin remotely.
To use Wrapmin, you need to have Apache installed with PHP and Webmin properly installed as well. The installation process is simple: unzip the files on a directory inside your site (e.g., www.yoursite.com/webmin). Open the config.php and modify the values if necessary for the Webmin server and port. The default values are "localhost" and port "10000," which are the default installation values for Webmin. Additionally, users must change the user and password values with the Webmin user they plan to use.
After installation, you need to go to Webmin Configuration -> Authentication and select "Disable session authentication." Next, go to Webmin Configuration -> Anonymous Module Access, and allow anonymous access to specific modules and paths you want to work with in Wrapmin. Ensure that the URL path "/images" - and other specified paths - are set to use modules with appropriate user rights (by default, "root").
It is vital to note that the platform can only allow access from listed addresses, such as "localhost." Ensure that any other address is denied by setting "Only allow from listed addresses" to "localhost." You must also protect the Wrapmin directory with .htaccess. The provided .htpasswd file has a default user "demo" with password "demo." It is recommended that you change this username and password to a more secure alternative.
It is important to create the .htpasswd file using the following command: #htpasswd -c .htpasswd secretuser. Make sure that you have enabled "AllowOverride AuthConfig" on httpd config and set the path for your .htpasswd on .htaccess. You can read about Access control on the platform for more information.
Version 1.0b: N/A