Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-10-2005, 08:28 PM
|
#1
|
LQ Newbie
Registered: Feb 2005
Posts: 23
Rep:
|
Fc3
Ok. I'm just wondering how to set up a sevrer to host my site on FC3. I just can't figure it out.....
|
|
|
02-10-2005, 08:32 PM
|
#2
|
Member
Registered: Jan 2005
Location: New York
Distribution: Slackware, Arch
Posts: 37
Rep:
|
You mean a web server? Try apache.
http://httpd.apache.org/
|
|
|
02-10-2005, 10:08 PM
|
#3
|
LQ Newbie
Registered: Feb 2005
Posts: 23
Original Poster
Rep:
|
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?
Last edited by Magma_11; 02-10-2005 at 10:09 PM.
|
|
|
02-10-2005, 10:53 PM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,425
|
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
|
|
|
02-10-2005, 11:19 PM
|
#5
|
LQ Newbie
Registered: Jan 2005
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
|
|
|
02-11-2005, 01:26 PM
|
#6
|
LQ Newbie
Registered: Feb 2005
Posts: 23
Original Poster
Rep:
|
Well, I think I've got it working now, only one problem. I keep getting a 403 Forbidden error. I just can't figure out why I get 403s.....
EDIT: I run that command, and it says "OKAY" Still a 403......
Last edited by Magma_11; 02-11-2005 at 02:16 PM.
|
|
|
02-11-2005, 05:42 PM
|
#7
|
LQ Newbie
Registered: Feb 2005
Posts: 23
Original Poster
Rep:
|
bumping.......
|
|
|
02-11-2005, 07:08 PM
|
#8
|
LQ Newbie
Registered: Feb 2005
Posts: 23
Original Poster
Rep:
|
.
|
|
|
02-12-2005, 10:39 AM
|
#9
|
Senior Member
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075
Rep:
|
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).
|
|
|
02-13-2005, 01:03 AM
|
#10
|
LQ Newbie
Registered: Jan 2005
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
|
|
|
02-13-2005, 08:25 AM
|
#11
|
LQ Newbie
Registered: Feb 2005
Posts: 23
Original Poster
Rep:
|
Thanks for your help guys. I got it working.
|
|
|
All times are GMT -5. The time now is 08:51 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|