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.

Problem accessing sites on a USB drive

Featured Replies

I've installed uniformserver on a USB drive and used the Admin Virtual Host to set up a new host, and have followed the instructions in the wiki about how to get it to work for portable drives, (ie creating a PAC file and setting up my portable Firefox to use it as an automatic proxy, but when I try to access my host I get a 403 Forbidden error saying I don't have permission.

 

My hosts file looks like:

 

NameVirtualHost *
<VirtualHost *>
ServerName localhost:80
DocumentRoot /www
</VirtualHost>
##########VIRTUAL HOST SETUP##########
# MYSITE
<VirtualHost *>
ServerName mysite.local
DocumentRoot F:/mysite
</VirtualHost>

 

My Windows hosts file looks like:

 

127.0.0.1	   localhost
127.0.0.1	   localhost:80

127.0.0.1	mysite.local

 

and my PAC file looks like:

 

function FindProxyForURL(url, host)
{
 if (shExpMatch(url,"http://mysite.local/*")) return "PROXY 127.0.0.1";
 return "";
} 

 

Is there anything else I've missed or have done wrong? :D

  • 4 weeks later...

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.