Can someone post their httpd.conf?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

rgmhtt
Posts: 70
Joined: Wed Jan 04, 2006 4:37 pm
Location: Oak Park

Can someone post their httpd.conf?

Postby rgmhtt » Thu Sep 20, 2007 7:16 pm

Preferably someone running Scalix 11 on Centos....

It is hard to guess what you have deleted, when it is not there.....

And maybe the problem is elsewhere, but I can't see where.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Sep 21, 2007 5:41 am

I have done Scalix 11 installs on both CentOS 4 and 5 and I have had to make no changes to the web config in my test environments. They are similar enough to RHEL that the standard Scalix configs work.

Of course, I do have to tweak sometimes because of site-specific restrictions, issues and requirements, but that is not distribution-related.

rgmhtt
Posts: 70
Joined: Wed Jan 04, 2006 4:37 pm
Location: Oak Park

Postby rgmhtt » Fri Sep 21, 2007 7:21 am

Valerion wrote:I have done Scalix 11 installs on both CentOS 4 and 5 and I have had to make no changes to the web config in my test environments. They are similar enough to RHEL that the standard Scalix configs work.

Of course, I do have to tweak sometimes because of site-specific restrictions, issues and requirements, but that is not distribution-related.


Well something has happened.

It was pointed out to me that all of my virtual hosts were not working. They were working before I installed Scalix. So I was fiddling around with httpd.conf to try and get them working. Well, I still have not succeeded. It is as if Java (that is sitting on port 80 before Apache) is stripping off the client supplied URL. But since I did that fiddling, now even tomcat does not seem to be working right!

Thus I am in bigggggg trouble here.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Tue Sep 25, 2007 9:00 am

Unless you made custom site-specific non-trivial changes to the httpd.conf (not recommened) you should revert that back to its original form.

The only additions Scalix makes is two files in /etc/httpd/conf.d (IIRC scalix.conf and scalix-webclients.conf, not in front of a machine right now). If you delete those, you revert Apache to the behaviour before Scalix was installed. Those two then has pointers to other includes (mostly in /etc/opt/scalix-tomcat).

I created a brand-new vhost entry by putting all those together and ignored the Scalix-supplied files on one of my machines, but that was for a specific need. Not a standard config.

rgmhtt
Posts: 70
Joined: Wed Jan 04, 2006 4:37 pm
Location: Oak Park

Totally foobared

Postby rgmhtt » Tue Sep 25, 2007 12:50 pm

This server MUST be a DNS master server (not a big deal, nor does that seem to impact Scalix), Scalix server, and HTTP server for my domain, a couple other domains (virtual hosts), and user files (/~user).

So I have to figure this out.

The 2 Scalix files are in /etc/httpd/conf.d (well one is really a logical pointer), and neither have been touched since install.

So I have just finished building a new Centos 5 server. I am going to first try a clean install to see what it does. If necessary, I will undo that, rsnyc from my prod server, and try a Scalix install over it.....

This is no good, the way things are working. I have users yelling at me, and it is the holiday time...

klhuckaba

Postby klhuckaba » Fri Oct 12, 2007 4:23 pm

Valerion wrote:
The only additions Scalix makes is two files in /etc/httpd/conf.d (IIRC scalix.conf and scalix-webclients.conf, not in front of a machine right now). If you delete those, you revert Apache to the behaviour before Scalix was installed. Those two then has pointers to other includes (mostly in /etc/opt/scalix-tomcat).


Can someone tell me where httpd.conf is on OpenSuse 10.2 with Scalix 11.2? I have to change what port webmail works on as we currently have a webserver. This would be a stand alone server and our router will only forward based on port, not by server name. Any help would be greatly appreciated.

I have tried the suggestions on the forum relating to this, but they are all for older installs of Scalix and not all of the files referenced seem to be in place in 11.2

thanks

klhuckaba

Here is what worked for me

Postby klhuckaba » Fri Oct 12, 2007 5:18 pm

OK, I have Scalix 11.2 installed on Suse OSS Linux 10.3

To change the default port from 80 to 8080 for webmail i had to edit the following files:

1. /var/opt/scalix/<instance>/tomcat/conf/server.xml
and changed
<Connector port="80" maxHttpHeaderSize="8192"
to
<Connector port="8080" maxHttpHeaderSize="8192"

2. /etc/opt/scalix-tomcat/connector/ajp/instance-scalix.conf
and changed
<VirtualHost <hostnamehere>:80>
to
<VirtualHost <hostnamehere>:8080>
Did the exact same thing to /etc/opt/scalix-tomcat/connector/jk/instance-scalix.conf

3. /etc/opt/scalix-tomcat/conf/server.xml.in
and changed
<Connector port="80" maxHttpHeaderSize="8192"
to
<Connector port="8080" maxHttpHeaderSize="8192"

4. /etc/opt/scalix-tomcat/ports
and added
<hostname>+8080 directly below: <hostname>+8005

This worked for me, let me know if it's successful for other distributions of linux


Return to “Scalix Server”



Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron