Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

403 forbidden:you don't have permission to access /test.ht..

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  right  
Author Message
tiantao

External


Since: Feb 26, 2006
Posts: 3



(Msg. 1) Posted: Sun Feb 26, 2006 7:12 pm
Post subject: 403 forbidden:you don't have permission to access /test.html on this server
Archived from groups: alt>apache>configuration (more info?)

I have installed apache, and try to access a page through browser, but
got the error:
403 forbidden:you don't have permission to access /test.html on this
server
I have checked the possible fail reason but don't take effect:

[root@localhost ~]# chmod 755 /usr/local/apache2/www/
[root@localhost ~]# chmod 755 /usr/local/apache2/www/*

i've checked in conf.conf

DocumentRoot "/usr/local/apache2/www/"

<IfModule dir_module>
DirectoryIndex index.html index.php index.htm
</IfModule>
is there any other places where i may made a mistake? hope can give me
some suggestion thanx:)

 >> Stay informed about: 403 forbidden:you don't have permission to access /test.ht.. 
Back to top
Login to vote
tiantao

External


Since: Feb 26, 2006
Posts: 3



(Msg. 2) Posted: Mon Feb 27, 2006 8:22 am
Post subject: Re: 403 forbidden:you don't have permission to access /test.html on this server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

thanx for your reply,i've checket the log file,
in access_log
10.0.0.201 - - [28/Feb/2006:00:19:52 +0800] "GET /test.html HTTP/1.1"
403 211
and in error_log
[Tue Feb 28 00:19:49 2006] [error] [client 10.0.0.201] client denied by
server configuration: /usr/local/apache2/www/test.html

 >> Stay informed about: 403 forbidden:you don't have permission to access /test.ht.. 
Back to top
Login to vote
Robert Ionescu

External


Since: Jan 19, 2006
Posts: 142



(Msg. 3) Posted: Mon Feb 27, 2006 8:55 am
Post subject: Re: 403 forbidden:you don't have permission to access /test.html [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

tiantao wrote:
> I have installed apache, and try to access a page through browser, but
> got the error:

Did you check your error.log to see if anything related to your problem
hast been logged?

--
Robert
 >> Stay informed about: 403 forbidden:you don't have permission to access /test.ht.. 
Back to top
Login to vote
Robert Ionescu

External


Since: Jan 19, 2006
Posts: 142



(Msg. 4) Posted: Mon Feb 27, 2006 1:55 pm
Post subject: Re: 403 forbidden:you don't have permission to access /test.html [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

tiantao wrote:
> [Tue Feb 28 00:19:49 2006] [error] [client 10.0.0.201] client denied by
> server configuration: /usr/local/apache2/www/test.html

It looks like there is somewhere an access restriction.
Do you have a directory section for your /usr/local/apache2/www in place
with the directive "allow from all" like

<Directory /usr/local/apache2/www>
..... other directives...
Order allow,deny
Allow from all

..... other directives...
</Directory>


If yes, are there any other directory sections in your httpd.conf (or
any included file) or .htaccess files which might override this setting?

--
Robert
 >> Stay informed about: 403 forbidden:you don't have permission to access /test.ht.. 
Back to top
Login to vote
tiantao

External


Since: Feb 26, 2006
Posts: 3



(Msg. 5) Posted: Mon Feb 27, 2006 8:43 pm
Post subject: Re: 403 forbidden:you don't have permission to access /test.html on this server [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

thanks so much, i changed <Directory /usr/local/apache2/htdocs> to
<Directory /usr/local/apache2/www> and it works
thank you very much for your kind help:)
 >> Stay informed about: 403 forbidden:you don't have permission to access /test.ht.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Forbidden!! You don't have permission to access / on this .. - Hallo, justr updated my Mandrake 9.2 to Mandrake 10.0. I use Apache to handle a small library. With Mandrake 9.2 everything worked fine. NOw, when I try to connect to http://www.giorgio.net, I get this message: Forbidden!! You don't have permission to....

Forbidden access - Hi, I have a w2k OS with an apache server, my php menu shows but the other pages just says Forbidden Access... can anyone help ?

Forbidden access - System: Mandrake Linux CE 10.1 Apache 2.0.50 I've made just this update in the /etc/httpd/conf/htpd2.conf file: <UserDir> www </UserDir> and I put a single file named index.html in the folder www under my /home/myname/ path When I point t...

Apache2: Access Forbidden - Ok my proble is as follows: my Apache2 is configured with /srv/www/htdocs as DocumentRoot and I can access that folder without any problems by pointing the browser to http://localhost/, but as soon as I create a subfolder I get Access Forbidden when I tr...

aliased directory is forbidden access - Hi, I am getting Forbidden errors when I am trying to view files in a directory I have shared with an alias I am using debain Sarge with Apache 1.3.33. I have in my httpd.conf file: Alias /doc/viewcvs /usr/share/viewcvs If its important, I have abov...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]