Jump to content
The Uniform Server Community
Sign in to follow this  
kristovaher

Uniform Server Zero without admin rights?

Recommended Posts

I have used Coral for a long time without any problems, I now read that there is a Zero version of Uniform Server, which has newer version of PHP and other features and is still 'servers are ready to run either from a USB memory stick or PC.'

 

But this is not true, differently from Coral, I need to have admin rights to run the servers. Why are admin rights needed now, when they were not needed before and is there an alternative? Is Zero meant only for administrators?

Share this post


Link to post
Share on other sites

An interesting post, when creating a virtual host an entry is written to the hosts file requiring administrator privileges. This is the only situation where elevated privileges are required.

 

I do not have access to Windows 8 therefore would you download Zero_Controller_10_1_1.exe extract it and perform the following test:

 

1) Run UniController.

2) Click yes when prompted to run as administrator.

3) Select: General > Edit Windows Host file

4) This opens the “UniServer host file editor”

5) Click in the “Host name” window

6) This will highlight the Add button click this button.

7) Confirm an entry is made to the host file (Entry appears in the right window)

8) In this window click the host name “example.com” and click Delete button.

9) Confirm the entry is removed.

10) In “Host name” window enter fred.com and click Add button

11) Close “UniServer host file editor”and UniController.

 

Final test:

In folder UniServerZ create a new text file test.bat with the following content:

UniController.exe

 

12) Double click on file test.bat.

13) This will run UniController

14) Click yes when prompted to run as administrator.

15) Select: General > Edit Windows Host file

16) Confirm fred.com is displayed in right window.

17) Highlight fred.com and click “Delete” button

18) Close “UniServer host file editor”and UniController.

 

 

Can you confirm 7), 9) and 16)

 

I need the results to decide what solution to implement.

The above test is open to anyone wishing to run on W7 and W8

 

All the best

Ric

Share this post


Link to post
Share on other sites

Confirmed for XP and W7 can someone try W8

All the best

Ric

Share this post


Link to post
Share on other sites

Speaking of Windows 8, clicking on 'View www' does not seem to open the page in the browser (even a tab is not created). Not sure if it is an issue with my system alone, accessing the page directly on the browser with localhost address works. The button simply does nothing when you click on it.

Share this post


Link to post
Share on other sites

Thanks for performing above tests and confirmation. I will implement a solution in the next controller release.

 

 

Regarding the www button not sure what the problem is. Do you have the same problem with phpMyAdmin button?

 

All the best

Ric

Share this post


Link to post
Share on other sites

Starting with Zero_10_2_2 with the exception of modifying the Hosts file Uniform Server Zero no longer requires Admin privileges.

 

Writing to the Hosts file now uses a separate Utility EdHost when invoked requests a user to elevate privileges, when prompted allow.

 

All the best

Ric

Share this post


Link to post
Share on other sites

Starting with Zero_10_2_2 with the exception of modifying the Hosts file Uniform Server Zero no longer requires Admin privileges.

 

Writing to the Hosts file now uses a separate Utility EdHost when invoked requests a user to elevate privileges, when prompted allow.

 

All the best

Ric

 

It works. And as for the 'www' links, it seems that it was a one-time issue or a bug I cannot reproduce. All links work well in 10.2.2 and no admin rights issues on W7 or W8 platform.

 

Cheers, you're doing great work. I'll buy you a drink if you happen to visit Estonia.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...