[rt-users] Help With Apache configuration

Edwards, Rick REdwards at gwsmail.com
Tue Mar 23 07:15:07 EST 2004


Phillip,

You didn't mention specific OS you're on but I'm guessing maybe Red Hat? I
don't have a Red Hat box handy to check these commands so I'm doing it from
memory, so ***please check the syntax before taking my advice***.

It appears you've got Apache installed in two places, one via RPM and the
other manually. The server root for the Red Hat RPM version is '/var/www'
and it's got a startup script defined in '/etc/rc.d/init.d/httpd' (I think).
You can probably change the references in that file, after making a backup
of course, to point to the '/usr/local/apache' installation. After that you
can start Apache (as root) by typing 'service httpd start'.

The service may already be set up to start automatically. You can check for
that by running (as root) 'chkconfig --list'. That will show you the run
levels the service gets started on. The line for 'httpd' may look something
like this:
   httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

You can turn it on for runlevels 3, 4 and 5 by typing 'chkconfig --level 345
httpd on'. You may be able to just type 'chkconfig httpd on'. Please check
the syntax before trying it. Red Hat has (or used to) a graphical runlevel
editor that might be easier.

If none of this makes any sense to you don't do anything until you've done
some research via Google or your OS Vendor's site. Or maybe you can just
throw caution to the wind and do it anyway, you do have backups, right?

Rick

-----Original Message-----
From: Phillip Leremi [mailto:phillip at reportstar.net]
Sent: Tuesday, March 23, 2004 1:08 AM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Help With Apache configuration


i'm a new baby to Apache, so what i want to know is which httpd.conf 
should i change cause i have two httpd.conf files the first is in 
/etc/httpd/conf and the second one is in /usr/local/apache/conf .

-- 
Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip at reportstar.net
www.reportstar.net


_______________________________________________
rt-users mailing list
rt-users at lists.bestpractical.com
http://lists.bestpractical.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040323/2d2f3d94/attachment.htm>


More information about the rt-users mailing list