Tyssen Posted November 14, 2008 Report Posted November 14, 2008 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? Quote
olajideolaolorun Posted December 9, 2008 Report Posted December 9, 2008 Did you get it? Quote Best Regards Olajide Olaolorun The Uniform Server Development Team
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.