How can I edit httpd.conf?


#1

I’m installing a web content management system (twiki.org) and the installation instructions(1) also note that certain changes must be made to /etc/httpd/httpd.conf . I’m a newbie on web server administration but familiar enough with the changes that are to be made.

My question is> Where do I find this file? On a Win Apache or Linux Apache system, I would know, but on Dreamhost I cant seem to find it.

Editing it is the next question … once I find the httpd.conf, how do I launch an editor?


TorbenGB

(1) http://twiki.org/cgi-bin/view/TWiki/TWikiInstallationGuide


#2

Well our system is Linux / Apache, but you don’t have the proper permissions to edit this file.

You can’t edit httpd.conf. You’ll need to make any changes necessary in an .htaccess file - you can override most stuff you’d need to override in here. If that won’t work, we can add custom parameters to httpd.conf for you within reason.

You might want to first check and see if other people have had success installing this software on a shared hosting platform, and if so, how they did it.


#3

Hey,

I found this post through search engine.

httpd.conf is at: /usr/local/dh//-/etc/httpd.conf

Best regards


#4

Please note that this would be a change that would be done on a VPS or Dedicated Server, not a Shared Server.


#5

Is there a necrobump competition?


#6

I promised Voeltz a cookie for 50 of them. :wink:


#7

Just to add to this topic, if you somehow screw up your httpd.conf file or experience other errors with starting the server, it appears the system defaults to /usr/local/dh/apache2/template and will give you the standard “It Works!” page. You can edit that page at /usr/local/dh/apache2/template/htdocs/

On a related note, I recommend not trying to install a new version of gcc, as a new version of libstdc++ appears to break PHP. What was I thinking? :confused:


#8

I was also trying to edit the httpd.conf file for TLSv1.1 issues. But till no positive support from DH


#9

If you are a shared hosting customer editing httpd.conf is not a possibility. If you have a VPS or Dedicated server you will need to turn off dreamhost management in the panel, as this file is typically managed automatically for you. What specific problems are you having?