 |
Results from the most recent live auction are here.
20 members in the live chat room. Join Chat!
| |
06-02-2006, 11:33 AM
|
· #1 | | NamePros Regular Name: Trevor Location: Atlanta, GA, USA Join Date: Feb 2006 | Unexpected 403 Error I recently uploaded some files but cannot access them. I chmod-ed them to 0777. But I still get a 403 error when I go to any of those files.
.htaccess contains
Any ideas?
Last edited by Tree : 06-02-2006 at 12:09 PM.
|
| |
06-02-2006, 11:56 AM
|
· #2 | | Mr. Mayor Name: Ron James Location: Bay Area, CA Join Date: Feb 2003
Posts: 12,681
NP$: 17646.98 ( Donate)
| Might need more details. Uploaded some what? Does it work without the .htaccess file? |
| |
06-02-2006, 12:07 PM
|
· #3 | | NamePros Regular Name: Trevor Location: Atlanta, GA, USA Join Date: Feb 2006 | Sorry, uploaded some files. I uploaded them as root and then chown-ed them to the home directory's name. I've removed the .htaccess file and still get the same results. I have chown-ed them to nobody and apache and get more of the same. |
| |
06-02-2006, 12:10 PM
|
· #4 | | Mr. Mayor Name: Ron James Location: Bay Area, CA Join Date: Feb 2003
Posts: 12,681
NP$: 17646.98 ( Donate)
| Try chown to nobody and see if you still get the error. |
| |
06-02-2006, 12:12 PM
|
· #5 | | NamePros Regular Name: Trevor Location: Atlanta, GA, USA Join Date: Feb 2006 | Yep. Tried both nobody and apache and get more 403.
I just totally recreated the directory and any directory that is named 'stats' seems to get a 403 on my server. I'll just rename it to something else I guess.
Any idea where this weird setting is?
Last edited by Tree : 06-02-2006 at 12:15 PM.
|
| |
06-02-2006, 12:52 PM
|
· #6 | | Eating Pie Name: Steve Location: Canada Join Date: Nov 2004
Posts: 2,284
NP$: 91.30 ( Donate)
| What exculty are you trying to do? You want to upload files as root. To a directory and you are using Virtual Directory or what ever to be able to view the files in the internet.. And you are getting a 403? meaning it is probably not chmodded or group permissioned right.
- Steve |
| |
06-02-2006, 12:59 PM
|
· #7 | | NamePros Regular Name: Trevor Location: Atlanta, GA, USA Join Date: Feb 2006 | Well, I don't have to upload as root. I was just logged in as root doing some other things and had some files that needed to be uploaded. It turns out that any directoy named stats cannot be accessed by Apache for some weird reason.
I've just renamed it from stats to charts and it's fine. But is there any reason why "stats" is a "reserved" directory name or something? |
| |
06-02-2006, 01:05 PM
|
· #8 | | Eating Pie Name: Steve Location: Canada Join Date: Nov 2004
Posts: 2,284
NP$: 91.30 ( Donate)
| It shouldn't be... That would take abit to figure out why it isn't working.
- Steve |
| |
06-02-2006, 01:29 PM
|
· #9 | | NamePros Regular Name: Trevor Location: Atlanta, GA, USA Join Date: Feb 2006 | Alright, thanks Steve. |
| |
06-02-2006, 01:42 PM
|
· #10 | | NamePros Staff Name: Peter Location: Scotland Join Date: Nov 2003
Posts: 4,337
NP$: 2039.40 ( Donate)
| it is possible your control panel makes the domain logs available on that address ussually so by creating the folder yourself you are causing a problem. |
| |
06-02-2006, 02:19 PM
|
· #11 | | NamePros Regular Name: Trevor Location: Atlanta, GA, USA Join Date: Feb 2006 | Does cPanel usually do that? There are other accounts on the server with a stats folder in public_html. Not sure why this one account cannot have it. |
| |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |