Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

UniserverZ: I have to update Windows hosts file manually.

Featured Replies

Using UniServer Zero XI 1.0.3 on Win7.

 

When I create a new virtual host using the controller, I have to manually add a directive to my Windows hosts file. If I don't, my browser will not find the new virtual host. I've checked and the httpd-vhosts.conf and PAC files are being updated just fine. But not the Windows hosts file.

 

Yes, I've restarted the server.

 

[Coral 8.9.2 creates the hosts entry just fine.]

 

Should I have to manually add the directive?

The Windows host file is subject to access control because of this to change its content requires admin privileges. An application that changes this file requires elevating to admin this is not consistent with portability hence the file requires manually updating.

 

After adding a new Vhost use the utility program EdHost.exe located in folder C:\UniServerZ\utils this forces elevation allowing you to change the host file content.

 

All the best

Ric

  • Author

Thanks, Ric.

 

Was that in the docs, or did I just miss it?

 

The Windows host file is subject to access control because of this to change its content requires admin privileges. An application that changes this file requires elevating to admin this is not consistent with portability hence the file requires manually updating.

 

After adding a new Vhost use the utility program EdHost.exe located in folder C:\UniServerZ\utils this forces elevation allowing you to change the host file content.

 

All the best

Ric

The above was an interim solution and not documented.

 

UniController has been updated to ZeroXI_controller_1_0_4 which now supports automatic update of the hosts file. This functionality is enabled by default, for portability provision is provided to disable it. In addition you can directly run the edit hosts file utility from UniController.

 

The documentation has been updated (ZeroXI_documentation_1_0_1.exe) to reflect the above modifications.

 

Uniform Server 11_0_4_ZeroXI has been released with the above incorporated.

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...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.