Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 6th August 2013, 15:32
monnoliv monnoliv is offline
Junior Member
 
Join Date: Jul 2013
Location: Belgium
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Default

Dear Falko,
I have exactly the same issue. I install ispconf3 on 2 dedicated servers. On the 2 servers all work well but mailman. I disabled de cgi for the website but noway.
Still work with my server domain (or IP address) but doesn't work with the other domain (here bluckwar.be)
Here is my vhost file dump for the domain:
Code:
<Directory /var/www/bluckwar.be>
                AllowOverride None
                Order Deny,Allow
                Deny from all
</Directory>

<VirtualHost *:80>
                                        DocumentRoot /var/www/bluckwar.be/web

                ServerName bluckwar.be
                ServerAlias www.bluckwar.be
                ServerAdmin webmaster@bluckwar.be

                ErrorLog /var/log/ispconfig/httpd/bluckwar.be/error.log

                Alias /error/ "/var/www/bluckwar.be/web/error/"
                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/bluckwar.be/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/client1/web1/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/bluckwar.be/web>
                                Options +ExecCGI
                        </Directory>
                        RubyRequire apache/ruby-run
                        #RubySafeLevel 0
                        AddType text/html .rb
                        AddType text/html .rbx
                        <Files *.rb>
                                SetHandler ruby-object
                                RubyHandler Apache::RubyRun.instance
                        </Files>
                        <Files *.rbx>
                                SetHandler ruby-object
                                RubyHandler Apache::RubyRun.instance
                        </Files>
                </IfModule>

                <IfModule mod_perl.c>
                        PerlModule ModPerl::Registry
                        PerlModule Apache2::Reload
                        <Directory /var/www/bluckwar.be/web>
                                PerlResponseHandler ModPerl::Registry
                                PerlOptions +ParseHeaders
                                Options +ExecCGI
                        </Directory>
            <Files *.pl>
                                SetHandler perl-script
            </Files>
                </IfModule>

                <IfModule mod_python.c>
                        <Directory /var/www/bluckwar.be/web>
                                AddHandler mod_python .py
                                PythonHandler mod_python.publisher
                                PythonDebug On
                        </Directory>
                </IfModule>

                # suexec enabled
                <IfModule mod_suexec.c>
                        SuexecUserGroup web1 client1
                </IfModule>
                # Clear PHP settings of this website
                <FilesMatch "\.ph(p3?|tml)$">
                                SetHandler None
                </FilesMatch>
                # php as fast-cgi enabled
        # For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
                <IfModule mod_fcgid.c>
                                IdleTimeout 300
                                ProcessLifeTime 3600
                                # MaxProcessCount 1000
                                DefaultMinClassProcessCount 0
                                DefaultMaxClassProcessCount 100
                                IPCConnectTimeout 3
                                IPCCommTimeout 360
                                BusyTimeout 300
                </IfModule>
                <Directory /var/www/bluckwar.be/web>
                                AddHandler fcgid-script .php .php3 .php4 .php5
                                FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
                                Options +ExecCGI
                                AllowOverride All
                                Order allow,deny
                                Allow from all
                </Directory>
                <Directory /var/www/clients/client1/web1/web>
                                AddHandler fcgid-script .php .php3 .php4 .php5
                                FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
                                Options +ExecCGI
                                AllowOverride All
                                Order allow,deny
                                Allow from all
                </Directory>


                # add support for apache mpm_itk
                <IfModule mpm_itk_module>
                        AssignUserId web1 client1
                </IfModule>

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


</VirtualHost>
Reply With Quote
Sponsored Links
  #12  
Old 6th August 2013, 15:39
monnoliv monnoliv is offline
Junior Member
 
Join Date: Jul 2013
Location: Belgium
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Ok, removing cgi AND suexec is the solution.
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
No SASL authentication mechanisms using Ubuntu 20.04 + ISPConfig 3 + Dovecot estebanmora Installation/Configuration 6 16th February 2013 14:01
The Perfect Server - Ubuntu 12.04 LTS (Apache2...) - quota problem. Diggo HOWTO-Related Questions 4 4th May 2012 16:41
Local mail server - final touch Alexhor Installation/Configuration 4 12th April 2012 22:33
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 12:04
Howtoforge the perfect Server(links) rini90 Installation/Configuration 0 14th December 2008 10:58


All times are GMT +2. The time now is 04:12.


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