Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok...I redirected the Root Document to /home/hseritt/httpd. In that directory I created a sample html document. It is called apachetest.html. Next I went to the console and used the following command>>lynx http://prodigius.seritt.net/apachetest.html and it gave a 404 error. What did i do wrong?
my web directory (Root Document) has been redirected in httpd.conf to home/hseritt/httpd...i have made this into a directory that contains one test.html file. the file has been set to where I as a user have permissions and such but i still get a 404 error. whats wrong with it?
Please for give me if yu think this is a stupid question but...why chmod 755? what is the 755 for? is that some type of code to denote anonymous user priviledge?
The 755 stands for the read-write-execute for the particular access and rights to a directory or file.
When you see -rwxr--r-- taht indicates that root has full access to the file, and the user and groups only have read access.
Read=4, Write=2 and Execute=1, that is what the numbers represent when they are added up. If you want full access for a regular user, you would indicate a 7, cause if you add 4+2+1=7
Just do a man chmod for that manual pages on it for full detail.
Don't forget that not only the direectory that you are using as your web dir needs to be world writeable EVERY parent directory needs to be as well.
If the anonymous user can't change into the parent (/home/hseritt) then it doesn't matter what the permissions are further down.
I would advise against using your home dir as the web root, unless you don't care that every anonymous user is able to see what is in your home dir.
I would use /home/www (or /home/httpd) as the web root as all anon users have access to the /home anyway and you can just give them access to the httpd dir.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.