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.

Uniform server with portable firefox (usb drive)

Featured Replies

There is a great tutorial on using Uniform Server on a removable USB drive in the UniCenter

http://center.uniformserver.com/virtual_ho...host_pac_4.html

 

This is great -- I setup a Subversion repository on my office harddrive and checkout to my USB memory stick. Now I have my full development environment wherever I go.

 

I wanted to add an extra tip on top of the UniCenter tutorial. The tutorial shows you how to setup a proxy file so you can have name based virtual hosts without modifying the current computer's HOST file. The examples in the tutorial require you to modify your proxy file (*.pac) to add a line for every new virtual host. In addition, the examples use wildcard matching, so if you name your local site "example" and the real site is "example.com" the browser might not let you load both.

 

I made a simple proxy file that solves both these issues

 

function FindProxyForURL(url, host) {

if(isPlainHostName(host)) return "PROXY 127.0.0.1";

return "DIRECT";

}

 

The isPlainHostName looks for hosts that have a dot. So, I always name my local version of a website as a single word; e.g,

 

site1 is site1.com

site2 is site2.com

Hi figment88

Thanks for the feedback, well looks as if you spotted one of my many mistakes. :unsure:

 

For your sins take a look at this page just published: http://center.uniformserver.com/virtual_ho...host_pac_2.html

 

I liked your solution so please forgive me for reproducing it. :rolleyes:

 

All the best

Ric

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.