Jump to content
The Uniform Server Community

Problem accessing sites on a USB drive

Recommended Posts

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
##########VIRTUAL HOST SETUP##########
<VirtualHost *>
ServerName mysite.local
DocumentRoot F:/mysite


My Windows hosts file looks like:	   localhost	   localhost:80	mysite.local


and my PAC file looks like:


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


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

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.

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.


  • Create New...