var/www/html permissions


 
Thread Tools Search this Thread
Top Forums Web Development var/www/html permissions
# 1  
Old 12-24-2009
var/www/html permissions

Hi, first post. I have no Linux experience. I have an e-friend that set me up a VPS and my website with Apache and FTP access so I could upload my files the way I do it regularly with my shared hosting. The OS in the VPS is Fedora by the way. Now the thing is:

http://www.mydomain.com presents itself with a standard welcoming page from Apache/Fedora. When I insert an index.html inside the var/www/html I get a 403 Forbidden error. With my limited knowledge I assume this is a permissions issue so I go into the FTP and CHMOD it, however, no CHMOD works, it comes back as:
Code:
550 SITE CHMOD command failed

My understanding is that something isn't allowing me to CHMOD the html folder, however, I don't know if that's really needed for what I want to do, which is just upload my files (basically, my website) to the html folder. If there is a way to do this, I'm all hears Smilie

Last edited by Yogesh Sawant; 12-24-2009 at 10:32 AM.. Reason: added code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Web Development

$_SERVER['DOCUMENT_ROOT'] directs to /var/www not ~/public_html

Hi all, Exactly like my title says. I am learning PHP and MySQL and I used to use /var/www/ to host (contain or store) my files (.htm/.php) for testing. I could configure, finally, apache2 to use ~/public_html instead. Now I when I tried to use $_SERVER it still directs (I used echo to show... (7 Replies)
Discussion started by: faizlo
7 Replies

2. Debian

Help request. FTP user to var/www/html

Hi all. I appologise this is my first post, I will gladly have a further look around to see if this has been posted elsewhere, but so far it has not, or it doesnt quite explain in full what I need. If anyone here can help me out, I would really appreciate this. I want to make sure I do this... (1 Reply)
Discussion started by: Pinkfloyd
1 Replies

3. UNIX for Dummies Questions & Answers

How to protect directory var/www in debian?

hi i need somme help to protect directory in debian with user and pass var/www thank's (6 Replies)
Discussion started by: azzeddine2005
6 Replies

4. UNIX for Dummies Questions & Answers

Permissions of the folder var/www

what should be the permissions of the folder var/www in my ubuntu ? I need it to be safe and at the same time I need ftp users to be able to edit it. I was wondering if I should create a group with all permissions and add ftp users to this group in unix. what's the standard way to do it ?... (4 Replies)
Discussion started by: aneuryzma
4 Replies

5. Web Development

New SEO Experiment http://www.globalfactbook.com/index.html

Hi, I found out the CIA's worldfact book is has an open copyright, anyone can use it as long as we don't use the CIA shield. So, I set up an experimental SEO site to see what will happen in the search engines over time: The Global Factbook Please click above and let's see if we can... (1 Reply)
Discussion started by: Neo
1 Replies

6. UNIX for Advanced & Expert Users

resize /var/www (debian)

I have several live websites running in the /var/www/XXXX directory. Initially when I did the Debian install I limited the web directory to 6GB. I am now outgrowing that limit. Question is: Is there a simple way to add space to the web directory??? I'd hate to have to redo the whole... (3 Replies)
Discussion started by: seagonus
3 Replies

7. UNIX for Dummies Questions & Answers

Change permissions of /var/log/messages

I have recently configured BigBrother to monitor the linux servers in our environment. The only problem is that it is unable to read the /var/log/messages file in the servers. Due to some restrictions I can't make the bb user a member of the highly priviledged groups. The current permissions on the... (3 Replies)
Discussion started by: anindra
3 Replies

8. UNIX for Dummies Questions & Answers

file permissions on www

I recently purchased an account at a web host provider. When I logged into my file system for the first time to check the file permissions, I noticed that the file permissions on the www folder where like this: drwxr-x--- The index.html file was in the www folder as expected. If I have... (4 Replies)
Discussion started by: vic20
4 Replies
Login or Register to Ask a Question