Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have tried making a user account that can be viewed from the webbrowser, (made only for the purpose of uploading web-files). But I don't understand how to do it. The idea is pretty simple, creating a user with his home directory under
/var/www/username. But debian locks it, so you have to have the password and such to reach it. How should i do it?
and, when im already writing a post i could make another related question at the same time;
People I have talked with says you can make "virtual directories" or something like it, so you can make adresses like mydomain.com/~the_folder but I dont know how, I have read the apache manual, but since Im a newbie I don't understand it.
Thanks anyway if you take your time answering
btw. hope you understand what I'm trying to say, my english isn't the very best, because Im from Sweden.
And that will authenticate them and automatically give them access to their default home directory and usually will not allow them to go anywhere beyond that, as the browser will see their default home directory as the / folder, etc.
well, now when i saw your answer, i believed how bad i have declared my problem
My problem is that i want to make web-folders, accessed through apache webserver. I Should be able to upload things to these folders through ftp. But i have tried making users that have their homedirectories in /var/www which is the html-root directory of apache. But debian believes this is normal "user" directories, and lock them for everyone except that user. I want these folders to be public, so anyone can view the webpages in that folder, not change them, ofcourse. I hope you understand now, otherwhise ask
Originally posted by cL4YmAN I'm getting permission denied. I noticed know, i can't access /doc/apache/ either. I think a major setting has a problem, maybe?
btw man chmod was not much for a documentation
Well if your trying to change a directory's permission and your not logged in as the owner of that directory, your going to get a permission denied. Either login as that user or su to root to change, etc.
Originally posted by cL4YmAN im logged in as root, and you should be able to view the apache documentation from the web, since it is linked on the apache startpage you enter when you point you browser to the servers adress
Looking thru the page or browser, it doesn't know your logged in as root. You'll need to actually go to your directory on your system. I would think now it is a configurtion error in the httpd.conf file now..