View Single Post

  #2 (permalink)  
Old 08-16-2003
Josh
 
Posts: n/a
Default Re: 403 Forbidden error

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@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.