![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Absolute Beginner Talk The perfect starting place to find out more about computers, Linux and Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: May 2006
My beans are hidden!
|
Forbidden/You don't have permission to access / on this server
Hi Folks and Happy New year,
I have set up my Apache server and copied my 4 web site files into both /var/www and /var/www/mysite.com directories have restarted Apache2 successfully, but when I try to access my server with 192.168.2.10 (Ubuntu IP address on my local line) I get: Forbidden You don't have permission to access /index.html on this server. I found info on the Apache.org FAQs and did a chmod -x /var/www and chmod -x /var/www/mysite.com, but I still get the same error. Also did the following as per Apache.org "Search your conf/httpd.conf file for this exact string: <Files ~>. If you find it, that's your problem -- that particular <Files> container is malformed. Delete it or replace it with <Files ~ "^\.ht"> and restart your server and things should work as expected." But still no success. Any ideas would be greatly appreciated. Thanks again, |
|
|
|
|
|
#2 |
|
Way Too Much Ubuntu
![]() |
Re: Forbidden/You don't have permission to access / on this server
sudo nautilus
then browse to the /var/www/ folder and right click /mysite then choose proberties next go to the permissions tab and make Folder Access on Others read "Access Files" if your using kubuntu instead of "sudo nautilus" use "sudo konqueror" atleast that sounds like the problem to me hope this helps |
|
|
|
|
|
#3 | |
|
Just Give Me the Beans!
![]() Join Date: Jan 2008
Beans: 51
Ubuntu 7.10 Gutsy Gibbon
|
Re: Forbidden/You don't have permission to access / on this server
Quote:
Second, try making the files readable and executable by everyone, if you only want users to access your mainpage try: Code:
sudo chmod a=rx /var/www/index.html Code:
sudo chmod -R a=rx /var/www |
|
|
|
|
|
|
#4 | |
|
Way Too Much Ubuntu
![]() |
Re: Forbidden/You don't have permission to access / on this server
Quote:
read permissions should more than enough |
|
|
|
|
|
|
#5 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jan 2008
Location: Philippines
Beans: 171
|
who created this post? i greatly fully thank you,,! yeah! my boss will never kill me again..
when i set to chmod 666 Forbidden appear, then when i sudo chmod -R a=rx /var/www at the root. my virtual host works!.. |
|
|
|
|
|
#6 |
|
A Carafe of Ubuntu
![]() Join Date: Dec 2007
Location: CA
Beans: 91
Ubuntu 9.04 Jaunty Jackalope
|
Re: Forbidden/You don't have permission to access / on this server
Thank you So so sooooo much. This totally took care of my problems. YAY!!
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|