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?