Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Neuro7 on 21 August 2002, 02:36

Title: Help with Apache!
Post by: Neuro7 on 21 August 2002, 02:36
Could someone point me in the right direction to get started setting up Apache as a sever and how to create a web page? I am fairly new to Linux and am running Red Hat 7.3 right now. Any help is greatly appreciated.

Thanks,
     Neuro7
Title: Help with Apache!
Post by: LorKorub on 21 August 2002, 04:06
Start with the man page and then post about certain aspects of it that you don't get.  What you're asking is wayyyyy to general.
Title: Help with Apache!
Post by: Stryker on 21 August 2002, 04:15
You dont really need to setup apache, just turn it on. (at least in my case) you can do this on the shell with: 'chkconfig httpd on' and then '/etc/init.d/httpd start'. (none of those have the semi-quotes) That will turn on apache. You can then setup your webpages in /var/www/html (i'd suggest index.html or index.php for your default page) You can also give useraccounts their sites as well. But you need to 'mkdir /home/username/public_html' and 'chgrp apache /home/* -R' (you can make that more secure if you want, it's just the fast way) and 'chmod g+rx /home/* -R' that'll link /home/username/public_html to http://servername.tld/~username (http://servername.tld/~username)
For more information try http://httpd.apache.org (http://httpd.apache.org)