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!
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.
Err..... I've had some trouble with apache...... I can't seem to start up the server correctly because when I go to http://localhost, it doesn't work. My friend told me there is a UNIX server up everytime I run Linux, I just don't notice it. I'd like to look into that one more, or could some1 plz help me with Apache?
Try this: http://www.tldp.org/HOWTO/Apache-Overview-HOWTO.html or possibly here /usr/share/doc/apache.
Alternatively, tell us exactly what you did and what msgs/results you got and we'll try to help.
This cmd shows the httpd (apache) process running:
ps -ef|grep http
on FC3 using bash shell
Distribution: Server Application of Fedora 7 (at the moment), I have played with many others however.
Posts: 27
Rep:
you will first want to edit your http.conf file it should be in /etc/httpd/conf/ after that you can type /etc/init.d/httpd start to start the apache daemon
Error 403 means that what you want is there, but you don't have permission to access it.
For files to be accessed by the Web server their permissions must be at least 644 (owner r+w, group read, others read). Directories must have at least read and execute for owner, group and other (755 in numeric notation).
Distribution: Server Application of Fedora 7 (at the moment), I have played with many others however.
Posts: 27
Rep:
in addition to what hob said, make sure that the person owning the folder also owns the files that need accesed. In a users directory for example, i would sometimes make a file while root, when the owner really needed to be the user. type "ls -l" to see permissions and owners and then if you need to change ownership of a file type "chown userxxx.userxxx filexxx" where userxxx is the user and filexxx is the file that needs changed
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.