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 error

 
Goto page 1, 2
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  SetEnvIf troubles  
Author Message
andrewjj20

External


Since: Aug 16, 2003
Posts: 1



(Msg. 1) Posted: Sat Aug 16, 2003 12:24 pm
Post subject: 403 Forbidden error
Archived from groups: alt>apache>configuration (more info?)

I have set the owner of a file group and changed the user
name on apache several times, but I still get a page that says
403 forbidden error when I try to acces it, can someone help me

andrewjj20

 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
hortnerds

External


Since: Aug 15, 2003
Posts: 5



(Msg. 2) Posted: Sat Aug 16, 2003 12:24 pm
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Have you checked the permission of the file?

In shell: go to the folder where your doc is.
type: ls -la
look for the document's permission structure.
-rw------- 1 username group 0 Aug 16 08:41 test.html
if you see '-rw-------' you know you cannot read it from the web.

So, type:
chmod 644 test.html

You should now see this when you type ls -la:
-rw-r--r-- 1 username group 0 Aug 16 08:41 test.html

Regardless of username, it should now be available for view on the web
if the document is placed above the web root.

Chris









"Tux" <andrewjj20.TakeThisOut@telus.net> wrote in message news:xLm%a.5821$ew2.2285@edtnps84...
 > I have set the owner of a file group and changed the user
 > name on apache several times, but I still get a page that says
 > 403 forbidden error when I try to acces it, can someone help me
 >
 > andrewjj20<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
claudio

External


Since: Aug 14, 2003
Posts: 47



(Msg. 3) Posted: Sat Aug 16, 2003 4:06 pm
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tux wrote:

Use a realname please.

 > I have set the owner of a file group and changed the user
 > name on apache several times, but I still get a page that says
 > 403 forbidden error when I try to acces it, can someone help me

Have a look to the apache ErrorLog file.

bye, cc<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
andrewjj201

External


Since: Aug 16, 2003
Posts: 12



(Msg. 4) Posted: Sat Aug 16, 2003 7:33 pm
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Claudio Carobolante wrote:

 > Tux wrote:
 >
 > Use a realname please.
 >
  >> I have set the owner of a file group and changed the user
  >> name on apache several times, but I still get a page that says
  >> 403 forbidden error when I try to acces it, can someone help me
 >
 > Have a look to the apache ErrorLog file.
 >
 > bye, cc
didn't have the program fully set up when I sent the first one<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
andrewjj201

External


Since: Aug 16, 2003
Posts: 12



(Msg. 5) Posted: Sat Aug 16, 2003 7:50 pm
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

hort nerd wrote:

 > Have you checked the permission of the file?
 >
 > In shell: go to the folder where your doc is.
 > type: ls -la
 > look for the document's permission structure.
 > -rw------- 1 username group 0 Aug 16 08:41 test.html
 > if you see '-rw-------' you know you cannot read it from the web.
 >
 > So, type:
 > chmod 644 test.html
 >
 > You should now see this when you type ls -la:
 > -rw-r--r-- 1 username group 0 Aug 16 08:41 test.html
 >
 > Regardless of username, it should now be available for view on the web
 > if the document is placed above the web root.
 >
 > Chris
 >
 >
 >
 >
 >
 >
 >
 >
 >
 > "Tux" <andrewjj20.TakeThisOut@telus.net> wrote in message
 > news:xLm%a.5821$ew2.2285@edtnps84...
  >> I have set the owner of a file group and changed the user
  >> name on apache several times, but I still get a page that says
  >> 403 forbidden error when I try to acces it, can someone help me
  >>
  >> andrewjj20
It didn't work, I just changed the permissions, and still get
403 Forbidden error, I did what you said, then even set the owner to
apache and the group to apache, then restarted apache, and still get the
error.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
andrewjj201

External


Since: Aug 16, 2003
Posts: 12



(Msg. 6) Posted: Sat Aug 16, 2003 10:13 pm
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

hort nerd wrote:

 > Have you checked the permission of the file?
 >
 > In shell: go to the folder where your doc is.
 > type: ls -la
 > look for the document's permission structure.
 > -rw------- 1 username group 0 Aug 16 08:41 test.html
 > if you see '-rw-------' you know you cannot read it from the web.
 >
 > So, type:
 > chmod 644 test.html
 >
 > You should now see this when you type ls -la:
 > -rw-r--r-- 1 username group 0 Aug 16 08:41 test.html
 >
 > Regardless of username, it should now be available for view on the web
 > if the document is placed above the web root.
 >
 > Chris
 >
 >
 >
 >
 >
 >
 >
 >
 >
 > "Tux" <andrewjj20.TakeThisOut@telus.net> wrote in message
 > news:xLm%a.5821$ew2.2285@edtnps84...
  >> I have set the owner of a file group and changed the user
  >> name on apache several times, but I still get a page that says
  >> 403 forbidden error when I try to acces it, can someone help me
  >>
  >> andrewjj20
they are both DocumentRoot<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
andrewjj201

External


Since: Aug 16, 2003
Posts: 12



(Msg. 7) Posted: Sat Aug 16, 2003 10:20 pm
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Josh wrote:

 > hort nerd wrote:
 >
  >> Have you checked the permission of the file?
  >>
  >> In shell: go to the folder where your doc is.
  >> type: ls -la
  >> look for the document's permission structure.
  >> -rw------- 1 username group 0 Aug 16 08:41 test.html
  >> if you see '-rw-------' you know you cannot read it from the web.
  >>
  >> So, type:
  >> chmod 644 test.html
  >>
  >> You should now see this when you type ls -la:
  >> -rw-r--r-- 1 username group 0 Aug 16 08:41 test.html
  >>
  >> Regardless of username, it should now be available for view on the web
  >> if the document is placed above the web root.
  >>
  >> Chris
  >>
  >>
  >>
  >>
  >>
  >>
  >>
  >>
  >>
  >> "Tux" <andrewjj20 DeleteThis @telus.net> wrote in message
  >> news:xLm%a.5821$ew2.2285@edtnps84...
   >>> I have set the owner of a file group and changed the user
   >>> name on apache several times, but I still get a page that says
   >>> 403 forbidden error when I try to acces it, can someone help me
   >>>
   >>> andrewjj20
 > they are both DocumentRoot
I am about ready to reinstall linux to repaire the permissions to the /var/
directory<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
andrewjj201

External


Since: Aug 16, 2003
Posts: 12



(Msg. 8) Posted: Sat Aug 16, 2003 10:32 pm
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Josh wrote:

 > Josh wrote:
 >
  >> hort nerd wrote:
  >>
   >>> Have you checked the permission of the file?
   >>>
   >>> In shell: go to the folder where your doc is.
   >>> type: ls -la
   >>> look for the document's permission structure.
   >>> -rw------- 1 username group 0 Aug 16 08:41 test.html
   >>> if you see '-rw-------' you know you cannot read it from the web.
   >>>
   >>> So, type:
   >>> chmod 644 test.html
   >>>
   >>> You should now see this when you type ls -la:
   >>> -rw-r--r-- 1 username group 0 Aug 16 08:41 test.html
   >>>
   >>> Regardless of username, it should now be available for view on the web
   >>> if the document is placed above the web root.
   >>>
   >>> Chris
   >>>
   >>>
   >>>
   >>>
   >>>
   >>>
   >>>
   >>>
   >>>
   >>> "Tux" <andrewjj20 RemoveThis @telus.net> wrote in message
   >>> news:xLm%a.5821$ew2.2285@edtnps84...
   >>>> I have set the owner of a file group and changed the user
   >>>> name on apache several times, but I still get a page that says
   >>>> 403 forbidden error when I try to acces it, can someone help me
   >>>>
   >>>> andrewjj20
  >> they are both DocumentRoot
 > I am about ready to reinstall linux to repaire the permissions to the
 > /var/ directory
nevermind I am reinstalling linux

andrewjj20<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
admin34

External


Since: Jul 01, 2003
Posts: 47



(Msg. 9) Posted: Sat Aug 16, 2003 10:32 pm
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Josh" <andrewjj20 RemoveThis @yahoo.com> wrote in message
news:iht%a.7643$ew2.6088@edtnps84...
 > hort nerd wrote:
 > It didn't work, I just changed the permissions, and still get
 > 403 Forbidden error, I did what you said, then even set the owner to
 > apache and the group to apache, then restarted apache, and still get the
 > error.

One question!
Where on your server is the file?
What <directory> directive covers the location?
(ie does it have something like
<Directory />
Deny from all
</Directory>
)
Do you have any File directive that is also doing a Deny All

Mike.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
andrewjj201

External


Since: Aug 16, 2003
Posts: 12



(Msg. 10) Posted: Sun Aug 17, 2003 2:21 am
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tux wrote:

 > I have set the owner of a file group and changed the user
 > name on apache several times, but I still get a page that says
 > 403 forbidden error when I try to acces it, can someone help me
 >
 > andrewjj20
no ideas from anyone, just about to reinstall linux

andrewjj20<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
andrewjj201

External


Since: Aug 16, 2003
Posts: 12



(Msg. 11) Posted: Sun Aug 17, 2003 4:43 am
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tux wrote:

 > I have set the owner of a file group and changed the user
 > name on apache several times, but I still get a page that says
 > 403 forbidden error when I try to acces it, can someone help me
 >
 > andrewjj20
the error reads:
client denied by server configureation: /var/srv/mtzion<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
claudio

External


Since: Aug 14, 2003
Posts: 47



(Msg. 12) Posted: Sun Aug 17, 2003 4:51 am
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Josh wrote:
 > Tux wrote:
 >
  >> I have set the owner of a file group and changed the user
  >> name on apache several times, but I still get a page that says
  >> 403 forbidden error when I try to acces it, can someone help me

 > no ideas from anyone, just about to reinstall linux

Please post the last lines from the ErrorLog-file (imho /var/log/error_log
or /var/log/httpd/error_log). Apache tells you what's wrong. Otherwise
any help is only a guess.

cc<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
andrewjj201

External


Since: Aug 16, 2003
Posts: 12



(Msg. 13) Posted: Sun Aug 17, 2003 4:54 am
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tux wrote:

 > I have set the owner of a file group and changed the user
 > name on apache several times, but I still get a page that says
 > 403 forbidden error when I try to acces it, can someone help me
 >
 > andrewjj20
it is not the server, haven't uninstalled yet, just tried setting the
directory elsewhere, and it worked, so I am going to do some file
rearraging.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
andrewjj201

External


Since: Aug 16, 2003
Posts: 12



(Msg. 14) Posted: Sun Aug 17, 2003 6:49 am
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Tux wrote:

 > I have set the owner of a file group and changed the user
 > name on apache several times, but I still get a page that says
 > 403 forbidden error when I try to acces it, can someone help me
 >
 > andrewjj20
apache will only work if I have the server root on a specific folder,
anything outside of that and it won't run<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
admin34

External


Since: Jul 01, 2003
Posts: 47



(Msg. 15) Posted: Sun Aug 17, 2003 1:43 pm
Post subject: Re: 403 Forbidden error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Josh" <andrewjj20 DeleteThis @yahoo.com> wrote in message
news:bfB%a.64939$LD6.1486838@news0.telusplanet.net...
 > Tux wrote:
 >
 > it is not the server, haven't uninstalled yet, just tried setting the
 > directory elsewhere, and it worked, so I am going to do some file
 > rearraging.

Sounds exactly what I said - check your config for a Directory directive
with a
Deny All or similar.
Sounds like the config of the server is denying access to that path.

Mike.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 403 Forbidden error 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache2 - 403 Forbidden - To whom that may have an answere... I have just installed Apache2 on my WinXP computer. I have edited the httpd.conf file and added 'AddType application/x-httpd-php .php' and other different extentions same way. I have also altered the DocumentRoot t...

forbidden virtualHost - snip of my http.conf: Listen 80 Listen 8080 Listen 8081 NameVirtualHost 127.0.0.1:80 <VirtualHost 127.0.0.1:80> <font color=purple> ; ServerAdmin schwartz@cableone.net</font> <font color=purple> ; DocumentRoot /u...

500 error with é - Hello all, i've installed Apache 2 with PHP, but when a textbox send a text with an "é", i receive a 500 error, what running wrong in my configuration?

PHP Error - I seem to be unable to run/exec php documents on my webserver, and i have no idea why. the includes at the bottom of http.conf are both # ed out. but when i enable them, apache doesnt start! Any solutions much appreciated, and a possible method of..

Error Message with 2.0.45 - What does the following line mean in my error log for 2.0.45? FATAL: emalloc(): Unable to allocate 471872345 bytes I can't seem to access my webpage and I get this error. Thanks, Jeff -- Jeff Grossman (jeff@stikman.com)
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Goto page 1, 2
Page 1 of 2

 
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 ]