Hello.
I have installed mailman with apt.
Then, I wanted to use the mailman administration screen with LiteSpeed, so I set the CGI context.
However, I get the following error and can't get it to work.
What can be done to resolve this?
CPanel, etc. are not used.
The environment is Ubuntu18.04 and LiteSpeed 5.4.7.
----- Error content -----
Mailman CGI error!!!
The Mailman CGI wrapper encountered a fatal error. This entry is being stored in your syslog:
Group mismatch error. Mailman expected the CGI
wrapper script to be executed as group "www-data", but
the system's web server executed the CGI script as
group "riku". Try tweaking the web server to run the
script as group "www-data", or re-run configure,
providing the command line option `--with-cgi-gid=riku'.
--------------------
----- Content of the configuration file -----
<contextList>
<context>
<type>cgi</type>
<uri>/mailman/</uri>
<location>/usr/lib/cgi-bin/mailman/</location>
<allowSetUID>1</allowSetUID>
<allowOverride>0</allowOverride>
<addDefaultCharset>off</addDefaultCharset>
</context>
<context>
<type>NULL</type>
<uri>/images/mailman/</uri>
<location>/usr/share/images/mailman/</location>
<allowBrowse>1</allowBrowse>
<addDefaultCharset>off</addDefaultCharset>
</context>
<context>
<type>NULL</type>
<uri>/pipermail/</uri>
<location>/var/lib/mailman/archives/public/</location>
<allowBrowse>1</allowBrowse>
<accessControl>
</accessControl>
<rewrite>
</rewrite>
<addDefaultCharset>off</addDefaultCharset>
<cachePolicy>
</cachePolicy>
</context>
</contextList>
--------------------
Sincerely yours
I have installed mailman with apt.
Then, I wanted to use the mailman administration screen with LiteSpeed, so I set the CGI context.
However, I get the following error and can't get it to work.
What can be done to resolve this?
CPanel, etc. are not used.
The environment is Ubuntu18.04 and LiteSpeed 5.4.7.
----- Error content -----
Mailman CGI error!!!
The Mailman CGI wrapper encountered a fatal error. This entry is being stored in your syslog:
Group mismatch error. Mailman expected the CGI
wrapper script to be executed as group "www-data", but
the system's web server executed the CGI script as
group "riku". Try tweaking the web server to run the
script as group "www-data", or re-run configure,
providing the command line option `--with-cgi-gid=riku'.
--------------------
----- Content of the configuration file -----
<contextList>
<context>
<type>cgi</type>
<uri>/mailman/</uri>
<location>/usr/lib/cgi-bin/mailman/</location>
<allowSetUID>1</allowSetUID>
<allowOverride>0</allowOverride>
<addDefaultCharset>off</addDefaultCharset>
</context>
<context>
<type>NULL</type>
<uri>/images/mailman/</uri>
<location>/usr/share/images/mailman/</location>
<allowBrowse>1</allowBrowse>
<addDefaultCharset>off</addDefaultCharset>
</context>
<context>
<type>NULL</type>
<uri>/pipermail/</uri>
<location>/var/lib/mailman/archives/public/</location>
<allowBrowse>1</allowBrowse>
<accessControl>
</accessControl>
<rewrite>
</rewrite>
<addDefaultCharset>off</addDefaultCharset>
<cachePolicy>
</cachePolicy>
</context>
</contextList>
--------------------
Sincerely yours