Mailman CGI scripts served instead of executed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm migrating a mailman server to a newer machine. The new machine runs apache 2.4. My problem is that the mailman cgi scripts are served instead of being executed.
My configuration looks like the following:
<VirtualHost *:80>
	ServerName lists.xxx
	DocumentRoot /home/www/lists.xxx
	ScriptAlias /mailman/ /var/www/w-lists/

	SuexecUserGroup w-lists w-lists

	<Directory /home/www/lists.xxx>
		Require all granted
		AddHandler fcgid-script .php
		Options +ExecCGI
		FCGIWrapper /var/www/w-lists/php5-cgi .php
	</Directory>
</VirtualHost>

In the document root there is a php script that redirects to /mailman/listinfo. The php5-cgi wrapper is in /var/www/w-lists. The php script gets properly executed, but the mailman scripts (also in /var/www/w-lists) are served directly instead of being executed.

I've tried adding a "SetHandler fcgid-script" on the /var/www/w-lists directory, but that gives me a server error.
Basically the same configuration works nicely on the old machine (running apache 2.2).

How can I solve this problem?

Thanks in advance.

Kind regards,

Remco Poelstra
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx






[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux