erickdeoliveiraleal Posted December 19, 2013 Report Share Posted December 19, 2013 How to access phpmyadmin remotely in the Uniform Zero last version? Quote Link to comment Share on other sites More sharing options...
Ric Posted December 20, 2013 Report Share Posted December 20, 2013 To allow unrestricted access to phpMyAdmin edit the following file:C:\UniServerZ\home\us_opt1\.htaccessReplace these four lines:Order Deny,AllowDeny from allAllow from 127.0.0.1Allow from ::1With these:#Order Deny,Allow#Deny from all#Allow from 127.0.0.1#Allow from ::1Restrict access using basic authentication. At the bottom of file .htaccess add the following lines:AuthName "Uniform Server - Server Access"AuthType BasicAuthUserFile ../../htpasswd/phpmyadmin/.htpasswdRequire valid-userSave file.Now create a password file as follows:Create a new folder C:\UniServerZ\htpasswd\phpmyadminCopy file C:\UniServerZ\htpasswd\www\.htpasswd to folder C:\UniServerZ\htpasswd\phpmyadminEdit file C:\UniServerZ\htpasswd\phpmyadmin\.htpasswd change name (root) and password (root) as required.Save file.To access phpMyAdmin type the following into your browser: http://your_domain_name/us_opt1/index.phpSupply name and password as set in the password file C:\UniServerZ\htpasswd\phpmyadmin\.htpasswdAll the bestRic Quote Link to comment Share on other sites More sharing options...
arlanda Posted January 18, 2014 Report Share Posted January 18, 2014 Hi Ric, I have tried the instruction but I kept on getting the message: "ForbiddenYou don't have permission to access /us_opt1/index.php on this server." I've tried: http://localhost/us_opt1/index.php <--- WORKhttp://127.0.0.1/us_opt1/index.php <--- WORKhttp://192.168.1.123/us_opt1/index.php <--- NOT WORK (Note: same machine)http://mydomain.com/us_opt1/index.php <--- NOT WORK I've tried starting again from scratch using the default user (root) and password (root) and still have the same problem as when I was using a different password. Thanks, Devin Quote Link to comment Share on other sites More sharing options...
pioha Posted July 30, 2015 Report Share Posted July 30, 2015 Topic not fresh, but mayby usefull for somebody (becouse promblem isn't solved by others). My solution for remote access to `Uniform Server` (and phpmyadmin):Requirements:Both computers (client and server) have the system Windows (in my case Win7 on client and Win XP on server)I installed on the server (Win XP) `Uniform Server`.Both computers are on the same network (they have the same class) 192.168.0.xClient computer have IP 192.168.0.8Server computer have IP 192.168.0.1Todo:Edit file `hosts` on client computer Use Uniform Server panel (Main menu --> Extra --> Edit Win hosts file) - Host name -> input target domain (ex. mydomain.com) - IP Adress -> input target IP (ex.192.168.0.1) Edit file 'hosts' on server computer You should input the values:- Host name -> input target domain (ex. mydomain.com)- IP Adress -> input target IP (ex.127.0.0.1) Switch off Apache To enable 'virtual host' option. Add virtual host by Uniform Server panel:Main menu --> Apache --> Apache vhosts --> Create Apache vhost Add domain folder (or use already created) Input values: - Root folder name -> myFolderForDomain (localized dafault into www/... of US's dir) - Server name -> enter domain witch have previously entered (in these example it is mydomain.com) For access by phpMyAdmin additionaly You should edit file `.htaccess` in US folder. Localisation these folder:home\us_opt1\ .htaccess and modifify line 'allow' and add IP 'client computer' separated by space like this example :#Order Deny,Allow#Deny from all#Allow from 127.0.0.1 192.168.0.8#Allow from ::1 Restart Apache. Done Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.