Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 22, 2012, 10:29:20 PM

Pages: [1]   Go Down
  Print  
Author Topic: 403 Forbidden Error  (Read 2918 times)
mbannonb
Pong! (the videogame) Master
*****
Offline Offline

Posts: 27


« on: July 20, 2006, 10:27:55 PM »

Hi

I'm getting a 403 Forbidden Error when trying to access a file I uploaded, however, a file with the same permissions/owners that I created on the site displays fine.

I uploaded the files via ftp into a users folder, then switched to root and moved them to be public accessible in /var/www/html. However, all files moved get the permission error.

See: http://gcgz.com/test.php - created on server
http://gcgz.com/index.php uploaded.

Any ideas?
Logged
Danielle
Guest
« Reply #1 on: July 21, 2006, 12:58:16 AM »

Hi mbannonb,

You could come into dedicated chat at http://dedicated@lunarpages.com/ to ask us to look into it for you, since you are a dedicated server customer based on your account profile.  Otherwise, you could send a ticket to dedicated@lunarpages.com to have us check what's happening. 

Thanks.
Logged
mbannonb
Pong! (the videogame) Master
*****
Offline Offline

Posts: 27


« Reply #2 on: July 21, 2006, 01:55:34 PM »

ok, thanks

I had to use dos2unix command on the files as windows apparently messed with them upon download
Logged
mbannonb
Pong! (the videogame) Master
*****
Offline Offline

Posts: 27


« Reply #3 on: July 21, 2006, 02:16:50 PM »

nuts, i'm having the same issue with a file created on the server now:

http://gcgz.com/inflash/test2.php

I made a new directory on the server to see if that has any bearing, and files created inside of this new directory work:

http://gcgz.com/test/test.php

dos2unix doesn't work on directories.  Plus, I'm not sure how windows could mess up a directory name.

I'd use the chat, but I've got to head out and hopefully there'll be an answer when I get back.
Logged
stephan
Guest
« Reply #4 on: July 22, 2006, 02:05:15 PM »

Hi,

http://gcgz.com/inflash/test2.php is coming up ok for me, no forbidden error, it says "inflash/test2"

I guess you got it worked out?

Normally you would get "forbidden" if it was wrong file/directory permissions or ownership.

If you are logged in via ssh, you can type "ls -l" or just "ll" to view the permissions and ownership easily.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: