I got a VPS running Apache 2.2. I understand most of the httpd.conf configuration, but I simply don't understand how to edit it correctly, so whm can rebuild the config without removing my changes.
First simple problem is, that I do not want customized errorpages, so I don't want this:
I can see it is generated from this part of the template:
but where does main.errordocument.items come from and how do I change it ?
Another problem is that I got 4 IP's (lets call them IP1 - IP4), and only IP4 is the shared, but I still get this:
Unless I don't understand NameVirtualHost, this looks wrong to me.
I got a few more problems, but if someone can help me with these, mayby I can figure out the rest.
Thanks for any help, I really appreciate it.
Michael
First simple problem is, that I do not want customized errorpages, so I don't want this:
Code:
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml
Code:
[% FOREACH dir IN main.errordocument.items -%]
ErrorDocument [% dir.code %] [% dir.document %]
[% END -%]
Another problem is that I got 4 IP's (lets call them IP1 - IP4), and only IP4 is the shared, but I still get this:
Code:
NameVirtualHost *:80
NameVirtualHost <IP1>:80
NameVirtualHost <IP4>:80
NameVirtualHost *
I got a few more problems, but if someone can help me with these, mayby I can figure out the rest.
Thanks for any help, I really appreciate it.
Michael