Hi, On Fri, Nov 09, 2007 at 06:02:30AM -0800, Mason wrote: > I have a Django site that works fine on my Windows platform, but when > I ported it over Ubuntu I get the following error on just one of my > links: > > "You don't have permission to access /doc/lookup/ on this server." > > Note that /doc/lookup/ is a URL, not a folder, so there are no > permissions to set. I'm wondering if /doc might mean something special > to Apache? If not then any other ideas? > > My Apache2.conf can be viewed here: http://dpaste.com/hold/24636/
The default Ubuntu site config maps /doc to /usr/share/doc, but only allows connections over the loopback interface (or something like that). You can either disable the Ubuntu "sites" configurations by commenting lines 669-670 in your main Apache2 config file, or you can disable the default site by doing: $ sudo rm /etc/apache2/sites-enabled/default It looks like you are configuring your server to serve only your Django app, so you probably just want to comment lines 669-670. -Forest -- Forest Bond http://www.alittletooquiet.net
signature.asc
Description: Digital signature

