LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apache (https://www.linuxquestions.org/questions/linux-newbie-8/apache-259054/)

tenmiles 11-25-2004 12:58 AM

apache
 
i need to set up a website and i used apache with fc1, but now i have fc3. my friend helped me last time and i have no idea what he did. i know that i need to change httpd.conf and that i need to specify where to look for the files to display, i need to specify to use port 81 (it just has to be that way), and i remember having problems changing the site from the apache default page to my page. i kind of need step by step help on this. thanks

mcalizo 11-25-2004 01:17 AM

the httpd.conf usually is on /etc/httpd/conf/.... If you install it using fedora package.

Then you need to make sure the on httpd.conf has some of this:

ServerRoot="/etc/httpd"
Listen=81 ---- Since you want your webserver to listen to this port
User=apache --- you must create this user
Group=apache -- you must create this group
ServerName="your server name" ---- the hostname of your server
DocumentRoot="/var/www/html" --- this is where your html file should be
<Directory "/var/www/html"> --- you need to make sure the this is enabled


All times are GMT -5. The time now is 08:36 PM.