LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-10-2005, 08:28 PM   #1
Magma_11
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Rep: Reputation: 15
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.....
 
Old 02-10-2005, 08:32 PM   #2
kinney
Member
 
Registered: Jan 2005
Location: New York
Distribution: Slackware, Arch
Posts: 37

Rep: Reputation: 15
You mean a web server? Try apache.
http://httpd.apache.org/
 
Old 02-10-2005, 10:08 PM   #3
Magma_11
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Original Poster
Rep: Reputation: 15
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.
 
Old 02-10-2005, 10:53 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,425

Rep: Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786Reputation: 2786
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
 
Old 02-10-2005, 11:19 PM   #5
PensJunkie
LQ Newbie
 
Registered: Jan 2005
Distribution: Server Application of Fedora 7 (at the moment), I have played with many others however.
Posts: 27

Rep: Reputation: 15
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
 
Old 02-11-2005, 01:26 PM   #6
Magma_11
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Original Poster
Rep: Reputation: 15
Angry

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.
 
Old 02-11-2005, 05:42 PM   #7
Magma_11
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Original Poster
Rep: Reputation: 15
bumping.......
 
Old 02-11-2005, 07:08 PM   #8
Magma_11
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Original Poster
Rep: Reputation: 15
.
 
Old 02-12-2005, 10:39 AM   #9
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
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).
 
Old 02-13-2005, 01:03 AM   #10
PensJunkie
LQ Newbie
 
Registered: Jan 2005
Distribution: Server Application of Fedora 7 (at the moment), I have played with many others however.
Posts: 27

Rep: Reputation: 15
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
 
Old 02-13-2005, 08:25 AM   #11
Magma_11
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for your help guys. I got it working.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: DMA with FC3 on a GA-8TRS350MT motherboard with a custom 2.6.12 kernel - FC3 DVD playbac rylan76 LinuxAnswers Discussion 0 08-21-2005 06:18 PM
FC3 xorg-x11.6.8.2 fc3 rpm critical fault gregreenwood Linux - Software 0 05-17-2005 03:18 PM
(FC3) ATI FGLRX Drivers work for months,FC3 update, stop working genixpro Linux - Hardware 2 04-23-2005 10:01 PM
Fc3? Redbone981sl Fedora 3 03-17-2005 03:55 PM
Fc 2 -> Fc3 serinxus Fedora 1 04-28-2004 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration