ISPConfig does delete/ignore pache2 directives - why ? :(

Discussion in 'Installation/Configuration' started by CIS-Cologne, Aug 21, 2014.

  1. CIS-Cologne

    CIS-Cologne New Member

    Dear Community,

    I installed ISPConfig Patch 3 on OPENsuse Tumbleweed, by using this guide as help:

    Anything works fine so far.

    But I added some software like Egrouopware on the server and I want it to be available for all hosts (alias). That does not seem to work the way i do:

    method 1) directly in /etc/apache2/sites-enabled/000-ispconfig.conf
    method 2) into the egroupware.conf its self
    method 3) added per webinterface if ispconfig ("apache directive" in "system" area NOR "apache directive" on "website" area

    method 1 gets undone by ISPconfig after a while (or maybe after using the interface 4 some other changes)

    method 3 does not seem to modify configuration at all

    method 2: i just ried, seems to work until now, but i would prefer to configure over the ISPconfig web interface

    I would prefer method 3...

    Some details:
    1. the directive i would like to add:
    <Directory /usr/share/egroupware>
                                    Require all granted
        DirectoryIndex index.php5
        <Location />
    #        suPHP_AddHandler application/x-httpd-php
    # above was enabeld 
    2. /etc/suphp.conf
    ;Handler for php-scripts
    # was php5
    3. apache2ctl -M
    AH00548: NameVirtualHost has no effect and will be removed in the next
    release /etc/apache2/sites-enabled/000-ispconfig.conf:64
    Loaded Modules:
     core_module (static)
     access_compat_module (static)
     so_module (static)
     http_module (static)
     mpm_prefork_module (static)
     unixd_module (static)
     systemd_module (static)
     actions_module (shared)
     alias_module (shared)
     auth_basic_module (shared)
     authn_file_module (shared)
     authz_host_module (shared)
     authz_groupfile_module (shared)
     authz_user_module (shared)
     autoindex_module (shared)
     cgi_module (shared)
     dir_module (shared)
     env_module (shared)
     expires_module (shared)
     include_module (shared)
     log_config_module (shared)
     mime_module (shared)
     negotiation_module (shared)
     setenvif_module (shared)
     ssl_module (shared)
     userdir_module (shared)
     reqtimeout_module (shared)
     authn_core_module (shared)
     authz_core_module (shared)
     php5_module (shared)
     socache_shmcb_module (shared)
     suexec_module (shared)
     rewrite_module (shared)
     suphp_module (shared)
     fcgid_module (shared)
     dav_module (shared)
     dav_fs_module (shared)
     dav_lock_module (shared)
     logio_module (shared)
     python_module (shared)
     fastcgi_module (shared)
    Can someone support me on this ? Thanks in advance
    Last edited: Aug 21, 2014
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) This gets undone only if you missed to tell ispconfig about your manual changes. If a change that you did in a config file that is managed by ispconfig shell stay even after updates, then you have to edit the template file that is used to create this file and save it in the /usr/local/ispconfig/server/conf-custom/ folder. Templates of the installer go into /usr/local/ispconfig/server/conf-custom/install/

    2) should work, at least when this file is included AFTER the other vhost files.

    3) The apache directives field of a website is used to configure something in this website vhost as its config is included into the vhost. A directory:

    <Directory /usr/share/egroupware>
    Require all granted

    is not within the path of the website (e.g. /var/www/domain.tld/web) so this wont work there.
  3. CIS-Cologne

    CIS-Cologne New Member

    mentioned folders empty -.-

    Thank you very much for this information. But as the folders, mentioned by you are empty, i am unsure how to handle this - there are no template files to edit at all :rolleyes:

    /usr/local/ispconfig/server/conf-custom # tree ./
    ├── empty.dir
    ├── error
    │** └── empty.dir
    ├── index
    │** └── empty.dir
    ├── install
    │** └── empty.dir
    └── mail
        └── empty.dir
    /usr/local/ispconfig/server/conf-custom # cat empty.dir
    This empty directory is needed by ISPConfig.
    What do I need to do exactly ? Create the templates of mine here manually, that differ from the original ones ?

    In the ISP config panel is another textfield, where apache directives can be entered (i guess so), placed under the system sextion, exactly: system -> system -> directive snip.
    isn't that to be used for such purposes ?

    I guess "directive snip" is correct, i am using the german version of ISPConfig.

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    off course tehy are empty as you have no overrides yet. The files are in the conf folder and the modified versions have to be stred in conf-custom and the installer templates are in install/tpl of the tar.gz and have to be stored in conf-custom/install/
  5. CIS-Cologne

    CIS-Cologne New Member

    Somehow I cannot help myself this way -.-

    I cannot see any relations to the software egroupware (or squirrelmail, phpmyadmin, ...) in the directory emntioned by you.

    So I made an "old-school-workaround" and linked a custom.conf into the httpd.conf. This custom.conf is containing my modifications and is not beeing changed.

    I really would like to use ISP-Config based functions for this purpose that much, but obvisiosly i am not able to

Share This Page