need help editing the httpd.conf

telmove

Member
Sep 26, 2006
5
0
151
I need help editing the httpd.conf
Where is this file and how do I edit it?
Thanks,
DAve:eek:
 

telmove

Member
Sep 26, 2006
5
0
151
httpd.conf question

Ok I found it!
Do I just move it to my local machine and open it with wordpad and paste the lines that tech support gave me and then save it and move it back and then reboot?
Is that it?
Thanks,
Dave
 

chris74108

Well-Known Member
Apr 30, 2004
86
0
156
telmove said:
Ok I found it!
Do I just move it to my local machine and open it with wordpad and paste the lines that tech support gave me and then save it and move it back and then reboot?
Is that it?
Thanks,
Dave
Why not just
1. ssh in
2. su -
3. cd /etc/httpd/conf
3. cp httpd.conf httpd.conf.saveme (always good to back up the config before making changes)
4. nano -w httpd.conf (if nano does not work try pico instead)

and edit away

Also you do not have to reboot your server to apply changes to httpd.conf just go to whm and navigate to restart services and click http server (apache)
 

telmove

Member
Sep 26, 2006
5
0
151
Ok thanks do you know how I can remove xwindows?

do you know how I can remove xwindows?
My server's video works initally when booting but then I get an error saying something about xwindows not liking the video card. How do I uninstall or remove xwindows? Will my video work ok after removing it?:rolleyes:
Thanks.
Dave
 

chiefit

Registered
Nov 30, 2006
2
0
151
I have problem like this but I edit my httpd.conf file in /usr/local/apache/conf direcory but wen I restart my apache service my changes don't be apply thear nathing to change but in httpd.conf file are changed I need to remove this option


Options indexes FollowSymLinks MultiViews

but nathing hapend :(
 

hdctest

Member
Nov 9, 2006
9
0
151
So WHM won't edit httpd.conf? I thought you are suppossed to shy away from directly editing httpd.conf with cpanel. I need to add a domain to a site's 'server alias' field. Any way to do this via WHM?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
11
313
Houston, TX
cPanel Access Level
Root Administrator
It is generally good practice to use cPanel and WHM to handle your configurations (EDIT: rather than manually editing configuration files) as it will ensure that such items will not be accidentally erased or overwritten during upgrades.
 

chiefit

Registered
Nov 30, 2006
2
0
151
I wont to dany acces in folder wen index not founded how can i do it? please help me