Re: "You don't have permission to access /doc/lookup/ on this server."
Yes, the problem was that there was an alias "/doc/" "/usr/share/doc/" declared under sites-enabled, and this was being imported into my Apache2.conf. I commented out the import statement, restarted Apache, and the problem was gone. Thanks for the quick response Forest Bond and RajeshD, it might have taken me a whole day to figure out where to look. This forum is great! mason -- On Nov 9, 10:37 am, RajeshD <[EMAIL PROTECTED]> wrote: > > "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/ > > Your apache config imports additional settings from: > Include /etc/apache2/sites-enabled/ > > Look there to see if any config files in that directory may have > defined the Location /doc and restricted permissions on it. It's > likely that you've installed the apache2-doc Ubuntu package and that > it's hooked up to the /doc URL path. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: "You don't have permission to access /doc/lookup/ on this server."
> > "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/ Your apache config imports additional settings from: Include /etc/apache2/sites-enabled/ Look there to see if any config files in that directory may have defined the Location /doc and restricted permissions on it. It's likely that you've installed the apache2-doc Ubuntu package and that it's hooked up to the /doc URL path. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: "You don't have permission to access /doc/lookup/ on this server."
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
"You don't have permission to access /doc/lookup/ on this server."
Hi. I'm an Apache noobie using: Apache 2.0.59 Django 0.95.1-1ubuntu1 Python 2.5 Mod_python 3.2.10-3ubuntu1 Ubuntu 7.04 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/ Thanks, mason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---