PDA

View Full Version : Editing httpd.conf when running ISPconfig?


Been Told
22nd December 2008, 12:43
Hi there!
I think I need to edit my httpd.conf for the following reason:
No matter what charset I specify in a HTML file via a meta tag - the server is always serving all files in some English charset. I need to use a german charset, or even just utf-8 but the server makes the browser ignore that by serving all pages in another charset. So I'm gonna have to change the default charset to utf-8 in httpd.conf or the normal German one (I forget which one it is, I'm at work right now).

So yeah, where would I find the httpd.conf file? I think ISPconfig runs its own apache server on port 81 (by default) right? So it would be pointless editing that server's httpd.conf.

Any tips anyone? Thanks in advance.

falko
23rd December 2008, 15:26
So I'm gonna have to change the default charset to utf-8 in httpd.conf or the normal German one (I forget which one it is, I'm at work right now).ISO-8859-1

So yeah, where would I find the httpd.conf file? I think ISPconfig runs its own apache server on port 81 (by default) right? So it would be pointless editing that server's httpd.conf.

Are you talking about web sites delivered by the main Apache? Then you must edit the main Apache configuration, not the one coming with ISPConfig.

Which distribution are you using?

Been Told
23rd December 2008, 15:28
Debian Etch, ISPconfig 2.

falko
24th December 2008, 17:54
On Debian Etch, the Apache configuration is located in /etc/apache2/apache2.conf (and the files included in that file).

Been Told
26th December 2008, 14:28
Thanks falko!
I've changed the default charset to utf8 and now everything looks good. :D