Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 11th November 2011, 13:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Looks ok. Did you restart Apache? If that didn't work, can you post the polyfidelity.org.au vhost configuration?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links
  #12  
Old 11th November 2011, 22:12
Tastiger Tastiger is offline
Member
 
Join Date: Feb 2011
Posts: 35
Thanks: 3
Thanked 1 Time in 1 Post
Default

Quote:
Looks ok. Did you restart Apache? If that didn't work, can you post the polyfidelity.org.au vhost configuration?
/etc/apache2/sites-enabled/900-polyfidelity.org.au.vhost

Code:
<Directory /var/www/polyfidelity.org.au>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

<VirtualHost *:80>
    DocumentRoot /var/www/clients/client0/web32/web

    ServerName polyfidelity.org.au
    ServerAlias *.polyfidelity.org.au
    ServerAlias bendigo.polyfidelity.org.au
    ServerAlias www.polyfidelity.org.au
    ServerAdmin webmaster@polyfidelity.org.au

    ErrorLog /var/log/ispconfig/httpd/polyfidelity.org.au/error.log


    ErrorDocument 400 /error/400.html
    ErrorDocument 401 /error/401.html
    ErrorDocument 403 /error/403.html
    ErrorDocument 404 /error/404.html
    ErrorDocument 405 /error/405.html
    ErrorDocument 500 /error/500.html
    ErrorDocument 502 /error/502.html
    ErrorDocument 503 /error/503.html

    <IfModule mod_ssl.c>
    </IfModule>
    <Directory /var/www/polyfidelity.org.au/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all

        # ssi enabled
        AddType text/html .shtml
        AddOutputFilter INCLUDES .shtml
        Options +Includes
    </Directory>
    <Directory /var/www/clients/client0/web32/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all

        # ssi enabled
        AddType text/html .shtml
        AddOutputFilter INCLUDES .shtml
        Options +Includes
    </Directory>

    <IfModule mod_ruby.c>
      <Directory /var/www/clients/client0/web32/web>
        Options +ExecCGI
      </Directory>
      RubyRequire apache/ruby-run
      #RubySafeLevel 0
      <Files *.rb>
        SetHandler ruby-object
        RubyHandler Apache::RubyRun.instance
      </Files>
      <Files *.rbx>
        SetHandler ruby-object
        RubyHandler Apache::RubyRun.instance
      </Files>
    </IfModule>


    # cgi enabled
	<Directory /var/www/clients/client0/web32/cgi-bin>
      Order allow,deny
      Allow from all
    </Directory>
    ScriptAlias  /cgi-bin/ /var/www/clients/client0/web32/cgi-bin/
    AddHandler cgi-script .cgi
    AddHandler cgi-script .pl
    # suexec enabled
    SuexecUserGroup web32 client0
    # Clear PHP settings of this website
    <FilesMatch "\.ph(p3?|tml)$">
        SetHandler None
    </FilesMatch>
    # suphp enabled
    <Directory /var/www/clients/client0/web32/web>
		<IfModule mod_suphp.c>
        suPHP_Engine on
        # suPHP_UserGroup web32 client0
        AddHandler x-httpd-suphp .php .php3 .php4 .php5
        suPHP_AddHandler x-httpd-suphp
		</IfModule>
    </Directory>

    RewriteEngine on
    RewriteCond %{HTTP_HOST}   ^bendigo.polyfidelity.org.au$ [NC]
    RewriteRule   ^/(.*)$ /bendigo/$1  [L]

    # add support for apache mpm_itk
    <IfModule mpm_itk_module>
      AssignUserId web32 client0
    </IfModule>

    <IfModule mod_dav_fs.c>
	  # Do not execute PHP files in webdav directory
      <Directory /var/www/clients/client0/web32/webdav>
	    <FilesMatch "\.ph(p3?|tml)$">
          SetHandler None
        </FilesMatch>
      </Directory>
      # DO NOT REMOVE THE COMMENTS!
      # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
      # WEBDAV BEGIN
      # WEBDAV END
    </IfModule>


</VirtualHost>
Reply With Quote
  #13  
Old 12th November 2011, 13:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Can you switch off suExec and try again?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #14  
Old 12th November 2011, 21:47
Tastiger Tastiger is offline
Member
 
Join Date: Feb 2011
Posts: 35
Thanks: 3
Thanked 1 Time in 1 Post
Default

No such luck with turning off suExec. (+ I have a niggling feeling that Joomla needs suExec)

This to me is starting to look similar to the issues with Squirrel Mail - it seems as though Mailman does not like the environment required by Joomla.

However that being said I have tried different php settings to no avail - I have just tried setting up a list in a test environment that is not Joomla friendly but still getting a 404 error.

This is becoming somewhat frustrating - I have attached screenshots of my ISP Config settings to see if they can shed some more light....
Attached Images
  

Last edited by Tastiger; 12th November 2011 at 22:04.
Reply With Quote
  #15  
Old 13th November 2011, 12:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Mailman is no PHP application, so your PHP settings do not matter. Are there any errors in the website's error log or the overall Apache error log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #16  
Old 14th November 2011, 00:14
Tastiger Tastiger is offline
Member
 
Join Date: Feb 2011
Posts: 35
Thanks: 3
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko View Post
Are there any errors in the website's error log or the overall Apache error log?
Could find nothing in /var/log/apache2/error.log

However in /var/log/ispconfig/httpd/polyfidelity.org.au/error.log

Quote:
14/11/11 08:22:35 AM [Tue Nov 08 07:18:42 2011] [error] [client 10.0.0.2] File does not exist: /var/lib/mailman/archives/public/committee/admin

14/11/11 08:22:35 AM [Tue Nov 08 07:57:50 2011] [error] [client 10.0.0.2] script not found or unable to stat: /var/www/clients/client0/web32/cgi-bin/mailman
and in /var/log/ispconfig/httpd/tastiger.dhs.org/error.log

Quote:
14/11/11 08:17:23 AM [Mon Nov 14 07:43:10 2011] [error] [client 10.0.0.2] script not found or unable to stat: /var/www/clients/client0/web19/cgi-bin/mailman
Update
Just as a last ditch attempt I again switched off suExec and rebooted the server and I can now access the archives at:
http://tastiger.dhs.org/pipermail/test/ and
http://polyfidelity.org.au/pipermail/committee/
any other links give me a 404 error....

Last edited by Tastiger; 14th November 2011 at 00:48. Reason: Update
Reply With Quote
  #17  
Old 14th November 2011, 11:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

I guess that the Mailman aliases are conflicting with
Code:
ScriptAlias  /cgi-bin/ /var/www/clients/client0/web32/cgi-bin/
Does it work if you switch off CGI for the website?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #18  
Old 15th November 2011, 01:14
Tastiger Tastiger is offline
Member
 
Join Date: Feb 2011
Posts: 35
Thanks: 3
Thanked 1 Time in 1 Post
Default

Quote:
Does it work if you switch off CGI for the website?
Yes it does - now to look through the forums and check about suExec as i still have a suspicion it needs to be activated to be Joomla compatible
Reply With Quote
  #19  
Old 20th April 2012, 15:46
ghall ghall is offline
Member
 
Join Date: Nov 2006
Posts: 43
Thanks: 1
Thanked 0 Times in 0 Posts
Default A Mailman Issue

Hi everyone,
I have Ispconfig 3 installed on Ubuntu 11.04 x64 (just upgraded to the new 3.0.4.4). Users want to use mailman so...

found this forum post and I apt-get installed mailman and ran newlist mailman and received this error:

root@mailer:/tmp/ispconfig3_install/install# newlist mailman
Enter the email of the person running the list: ghall@somecollege.somewhere.edu
Initial mailman password:
Traceback (most recent call last):
File "/usr/sbin/newlist", line 266, in <module>
main()
File "/usr/sbin/newlist", line 208, in main
emailhost=host_name, urlhost=urlhost)
File "/var/lib/mailman/Mailman/MailList.py", line 504, in Create
self.InitVars(name, admin, crypted_password, urlhost=urlhost)
File "/var/lib/mailman/Mailman/MailList.py", line 408, in InitVars
baseclass.InitVars(self)
File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 124, in InitVars
}, mlist=self))
File "/var/lib/mailman/Mailman/Utils.py", line 580, in maketext
return findtext(templatefile, dict, raw, lang, mlist)[0]
File "/var/lib/mailman/Mailman/Utils.py", line 557, in findtext
raise IOError(errno.ENOENT, 'No template file found', templatefile)
IOError: [Errno 2] No template file found: 'emptyarchive.html'

Tried to find if anyone else received this error and no luck. Any help would be appreciated into solving this issue.
Reply With Quote
  #20  
Old 21st April 2012, 12:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

According to this (old) thread...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=224319
... you should set
Code:
DEFAULT_SERVER_LANGUAGE = 'en'
in your mailman configuration.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't receive mails baicunko Server Operation 12 3rd August 2011 23:02
ISPConfig3 mail doesn't work Marr General 6 1st September 2010 10:32
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 17:59
Howtoforge the perfect Server(links) rini90 Installation/Configuration 0 14th December 2008 11:58
The Perfect Setup - Debian Etch (Debian 4.0) some trouble daniel80 HOWTO-Related Questions 26 1st February 2008 17:30


All times are GMT +2. The time now is 03:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.