LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fc3 (https://www.linuxquestions.org/questions/linux-newbie-8/fc3-288708/)

Magma_11 02-10-2005 07:28 PM

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.....

kinney 02-10-2005 07:32 PM

You mean a web server? Try apache.
http://httpd.apache.org/

Magma_11 02-10-2005 09:08 PM

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?

chrism01 02-10-2005 09:53 PM

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

PensJunkie 02-10-2005 10:19 PM

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

Magma_11 02-11-2005 12:26 PM

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......


Magma_11 02-11-2005 04:42 PM

bumping.......

Magma_11 02-11-2005 06:08 PM

.

hob 02-12-2005 09:39 AM

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).

PensJunkie 02-13-2005 12:03 AM

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

Magma_11 02-13-2005 07:25 AM

Thanks for your help guys. I got it working.


All times are GMT -5. The time now is 11:19 AM.