Changeset 284

Show
Ignore:
Timestamp:
02/02/07 22:06:33 (2 years ago)
Author:
rats
Message:

- DOCS:

  • added feodora install doc

- SETUP:

  • changed Makefiles
  • changed feodora Install
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r283 r284  
    1313 
    14142007-02-01 Benedikt Heintel 
    15         - DOCU: 
     15        - DOCS: 
     16                added feodora install doc 
     17        - SETUP: 
     18                changed Makefiles 
     19                changed feodora Install 
     20 
     212007-02-01 Benedikt Heintel 
     22        - DOCS: 
    1623                changed the organisation of the documentation 
    1724        - ENGINE: 
  • trunk/Makefile.fedora

    r154 r284  
    1           
     1 
    22INST_PREF=/tmp/vhcs-2.4.8 
    33 
     
    1515 
    1616SYSTEM_VIRTUAL=$(INST_PREF)/var/www/virtual 
     17 
     18SYSTEM_FCGI=$(INST_PREF)/var/www/fcgi 
    1719 
    1820SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
     
    3335        $(SYSTEM_MAKE_DIRS) $(SYSTEM_LOG)/vhcs2-arpl-msgr 
    3436        $(SYSTEM_MAKE_DIRS) $(SYSTEM_VIRTUAL) 
     37        $(SYSTEM_MAKE_DIRS) $(SYSTEM_FCGI) 
    3538        $(SYSTEM_MAKE_DIRS) $(SYSTEM_MAIL_VIRTUAL) 
    3639        $(SYSTEM_MAKE_DIRS) $(SYSTEM_APACHE_BACK_LOG) 
    3740 
    38         cd ./configs && $(MAKE) install  
    39         cd ./engine && $(MAKE) install  
    40         cd ./gui && $(MAKE) install  
     41        cd ./configs && $(MAKE) install 
     42        cd ./engine && $(MAKE) install 
     43        cd ./gui && $(MAKE) install 
    4144        cd ./keys && $(MAKE) install 
    42          
     45 
    4346uninstall: 
    4447 
    4548        cd ./tools && $(MAKE) uninstall 
    46         cd ./configs && $(MAKE) uninstall  
    47         cd ./engine && $(MAKE) uninstall  
    48         cd ./gui && $(MAKE) uninstall  
     49        cd ./configs && $(MAKE) uninstall 
     50        cd ./engine && $(MAKE) uninstall 
     51        cd ./gui && $(MAKE) uninstall 
    4952        cd ./keys && $(MAKE) uninstall 
    50          
     53 
    5154        rm -rf $(SYSTEM_CONF) 
    5255        rm -rf $(SYSTEM_ROOT) 
    5356        rm -rf $(SYSTEM_LOG) 
    5457        rm -rf $(SYSTEM_VIRTUAL) 
     58        rm -rf $(SYSTEM_FCGI) 
    5559        rm -rf $(SYSTEM_MAIL_VIRTUAL) 
    5660        rm -rf $(SYSTEM_APACHE_BACK_LOG) 
    5761        rm -rf ./*~ 
    58          
  • trunk/Makefile.inc

    r154 r284  
     1 
    12INST_PREF=/tmp/vhcs-2.4.8 
    23 
     
    1516SYSTEM_VIRTUAL=$(INST_PREF)/var/www/virtual 
    1617 
     18SYSTEM_FCGI=$(INST_PREF)/var/www/fcgi 
     19 
    1720SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
    1821 
     
    2023 
    2124CODE_PHP=/usr/sbin/encode-file 
    22  
  • trunk/Makefile.sles9

    r154 r284  
    1           
     1 
    22INST_PREF=/tmp/vhcs-2.4.8 
    33 
     
    1515 
    1616SYSTEM_VIRTUAL=$(INST_PREF)/srv/www/virtual 
     17 
     18SYSTEM_FCGI=$(INST_PREF)/srv/www/fcgi 
    1719 
    1820SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
     
    3335        $(SYSTEM_MAKE_DIRS) $(SYSTEM_LOG)/vhcs2-arpl-msgr 
    3436        $(SYSTEM_MAKE_DIRS) $(SYSTEM_VIRTUAL) 
     37        $(SYSTEM_MAKE_DIRS) $(SYSTEM_FCGI) 
    3538        $(SYSTEM_MAKE_DIRS) $(SYSTEM_MAIL_VIRTUAL) 
    3639        $(SYSTEM_MAKE_DIRS) $(SYSTEM_APACHE_BACK_LOG) 
    3740 
    38         cd ./configs && $(MAKE) install  
    39         cd ./engine && $(MAKE) install  
    40         cd ./gui && $(MAKE) install  
     41        cd ./configs && $(MAKE) install 
     42        cd ./engine && $(MAKE) install 
     43        cd ./gui && $(MAKE) install 
    4144        cd ./keys && $(MAKE) install 
    42          
     45 
    4346uninstall: 
    4447 
    4548        cd ./tools && $(MAKE) uninstall 
    46         cd ./configs && $(MAKE) uninstall  
    47         cd ./engine && $(MAKE) uninstall  
    48         cd ./gui && $(MAKE) uninstall  
     49        cd ./configs && $(MAKE) uninstall 
     50        cd ./engine && $(MAKE) uninstall 
     51        cd ./gui && $(MAKE) uninstall 
    4952        cd ./keys && $(MAKE) uninstall 
    50          
     53 
    5154        rm -rf $(SYSTEM_CONF) 
    5255        rm -rf $(SYSTEM_ROOT) 
    5356        rm -rf $(SYSTEM_LOG) 
    5457        rm -rf $(SYSTEM_VIRTUAL) 
     58        rm -rf $(SYSTEM_FCGI) 
    5559        rm -rf $(SYSTEM_MAIL_VIRTUAL) 
    5660        rm -rf $(SYSTEM_APACHE_BACK_LOG) 
    5761        rm -rf ./*~ 
    58          
  • trunk/Makefile.suse100

    r154 r284  
    1           
     1 
    22INST_PREF=/tmp/vhcs-2.4.8 
    33 
     
    1515 
    1616SYSTEM_VIRTUAL=$(INST_PREF)/srv/www/virtual 
     17 
     18SYSTEM_FCGI=$(INST_PREF)/srv/www/fcgi 
    1719 
    1820SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
     
    3335        $(SYSTEM_MAKE_DIRS) $(SYSTEM_LOG)/vhcs2-arpl-msgr 
    3436        $(SYSTEM_MAKE_DIRS) $(SYSTEM_VIRTUAL) 
     37        $(SYSTEM_MAKE_DIRS) $(SYSTEM_FCGI) 
    3538        $(SYSTEM_MAKE_DIRS) $(SYSTEM_MAIL_VIRTUAL) 
    3639        $(SYSTEM_MAKE_DIRS) $(SYSTEM_APACHE_BACK_LOG) 
    3740 
    38         cd ./configs && $(MAKE) install  
    39         cd ./engine && $(MAKE) install  
    40         cd ./gui && $(MAKE) install  
     41        cd ./configs && $(MAKE) install 
     42        cd ./engine && $(MAKE) install 
     43        cd ./gui && $(MAKE) install 
    4144        cd ./keys && $(MAKE) install 
    42          
     45 
    4346uninstall: 
    4447 
    4548        cd ./tools && $(MAKE) uninstall 
    46         cd ./configs && $(MAKE) uninstall  
    47         cd ./engine && $(MAKE) uninstall  
    48         cd ./gui && $(MAKE) uninstall  
     49        cd ./configs && $(MAKE) uninstall 
     50        cd ./engine && $(MAKE) uninstall 
     51        cd ./gui && $(MAKE) uninstall 
    4952        cd ./keys && $(MAKE) uninstall 
    50          
     53 
    5154        rm -rf $(SYSTEM_CONF) 
    5255        rm -rf $(SYSTEM_ROOT) 
    5356        rm -rf $(SYSTEM_LOG) 
    5457        rm -rf $(SYSTEM_VIRTUAL) 
     58        rm -rf $(SYSTEM_FCGI) 
    5559        rm -rf $(SYSTEM_MAIL_VIRTUAL) 
    5660        rm -rf $(SYSTEM_APACHE_BACK_LOG) 
    5761        rm -rf ./*~ 
    58          
  • trunk/Makefile.suse93

    r154 r284  
    1           
     1 
    22INST_PREF=/tmp/vhcs-2.4.8 
    33 
     
    1515 
    1616SYSTEM_VIRTUAL=$(INST_PREF)/srv/www/virtual 
     17 
     18SYSTEM_FCGI=$(INST_PREF)/srv/www/fcgi 
    1719 
    1820SYSTEM_MAIL_VIRTUAL=$(INST_PREF)/var/mail/virtual 
     
    3335        $(SYSTEM_MAKE_DIRS) $(SYSTEM_LOG)/vhcs2-arpl-msgr 
    3436        $(SYSTEM_MAKE_DIRS) $(SYSTEM_VIRTUAL) 
     37        $(SYSTEM_MAKE_DIRS) $(SYSTEM_FCGI) 
    3538        $(SYSTEM_MAKE_DIRS) $(SYSTEM_MAIL_VIRTUAL) 
    3639        $(SYSTEM_MAKE_DIRS) $(SYSTEM_APACHE_BACK_LOG) 
    3740 
    38         cd ./configs && $(MAKE) install  
    39         cd ./engine && $(MAKE) install  
    40         cd ./gui && $(MAKE) install  
     41        cd ./configs && $(MAKE) install 
     42        cd ./engine && $(MAKE) install 
     43        cd ./gui && $(MAKE) install 
    4144        cd ./keys && $(MAKE) install 
    42          
     45 
    4346uninstall: 
    4447 
    4548        cd ./tools && $(MAKE) uninstall 
    46         cd ./configs && $(MAKE) uninstall  
    47         cd ./engine && $(MAKE) uninstall  
    48         cd ./gui && $(MAKE) uninstall  
     49        cd ./configs && $(MAKE) uninstall 
     50        cd ./engine && $(MAKE) uninstall 
     51        cd ./gui && $(MAKE) uninstall 
    4952        cd ./keys && $(MAKE) uninstall 
    50          
     53 
    5154        rm -rf $(SYSTEM_CONF) 
    5255        rm -rf $(SYSTEM_ROOT) 
    5356        rm -rf $(SYSTEM_LOG) 
    5457        rm -rf $(SYSTEM_VIRTUAL) 
     58        rm -rf $(SYSTEM_FCGI) 
    5559        rm -rf $(SYSTEM_MAIL_VIRTUAL) 
    5660        rm -rf $(SYSTEM_APACHE_BACK_LOG) 
    5761        rm -rf ./*~ 
    58          
  • trunk/configs/apache/httpd.conf

    r177 r284  
    3131    Options MultiViews IncludesNoExec FollowSymLinks 
    3232</Directory> 
    33  
    3433 
    3534# 
  • trunk/configs/apache/parts/sub_entry.tpl

    r193 r284  
    66    # 
    77 
    8     # 
    98    SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
    10     # 
    119 
    1210    ServerAdmin     root@{DMN_NAME} 
  • trunk/configs/apache/working/vhcs2.conf

    r177 r284  
    3939</Directory> 
    4040 
    41  
    42  
    43  
    4441# 
    4542# Default GUI. 
     
    8178# Header End 
    8279# 
     80 
    8381# httpd [{IP}] virtual host entry BEGIN. 
    8482# httpd [{IP}] virtual host entry END. 
  • trunk/configs/crontab/crontab.conf

    r201 r284  
    1717 
    1818# Rootkit Hunter 
    19 0 0,12        * * *   rkhunter --createlogfile --cronjob 
     190      0,12   * * *   rkhunter --createlogfile --cronjob 
    2020 
    2121# [{DMN_NAME}] backup task START. 
  • trunk/configs/crontab/working/crontab.conf

    r201 r284  
    1 <<<<<<< .mine 
    21 
    32# delayed tasks START. 
     
    1817 
    1918# Rootkit Hunter 
    20 0 0,12        * * *   rkhunter --createlogfile --cronjob 
     190      0,12   * * *   rkhunter --createlogfile --cronjob 
    2120 
    2221# [{DMN_NAME}] backup task START. 
     
    2423 
    2524# delayed tasks END. 
    26 ======= 
    27  
    28 # delayed tasks START. 
    29  
    30 0       23      * * *  {QUOTA_ROOT_DIR}/vhcs2-dsk-quota &>{LOG_DIR}/vhcs2-qsk-quota.log 
    31  
    32 0,30    *       * * *  {TRAFF_ROOT_DIR}/vhcs2-srv-traff &>{LOG_DIR}/vhcs2-srv-traff.log 
    33 30      23      * * *  {TOOLS_ROOT_DIR}/vhcs2-httpd-logs-mngr &>{LOG_DIR}/vhcs2-httpd-logs-mngr.log 
    34  
    35 0,30    *       * * *  {TRAFF_ROOT_DIR}/vhcs2-vrl-traff &>{LOG_DIR}/vhcs2-vrl-traff.log 
    36  
    37 0       1       * * *  {BACKUP_ROOT_DIR}/vhcs2-backup-all yes &>{LOG_DIR}/vhcs2-backup-all-mngr.log 
    38  
    39 30      */2     * * *   /usr/share/awstats/tools/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats/awstats.pl 
    40  
    41 0 0,12  * * *   rkhunter --createlogfile --cronjob 
    42  
    43 # [{DMN_NAME}] backup task START. 
    44 # [{DMN_NAME}] backup task END. 
    45  
    46 # delayed tasks END. 
    47  
    48 >>>>>>> .r199 
  • trunk/configs/dists/fedora/Makefile

    r154 r284  
    1111                cd ./cron.d && $(MAKE) install ; cd .. ; \ 
    1212                cd ./database && $(MAKE) install ; cd .. ;  \ 
     13                cd ./fcgi && $(MAKE) install ; cd .. ; \ 
    1314                cd ./init.d && $(MAKE) install ; cd .. ; \ 
    1415                cd ./postfix && $(MAKE) install ; cd .. ; \ 
     
    3334                cd ./logrotate && $(MAKE) uninstall ; cd .. ; \ 
    3435        fi 
    35     
    3636 
  • trunk/configs/dists/fedora/apache/Makefile

    r154 r284  
    88        $(SYSTEM_MAKE_DIRS) $(SYSTEM_CONF)/apache 
    99        $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF) 
     10        $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/sites-available 
     11        $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/mods-available 
    1012 
    1113        cp ./httpd.conf ./working/vhcs2.conf 
    12  
     14        cp ./fastcgi.conf ./working/fastcgi.conf 
    1315        cp ./httpd.conf $(SYSTEM_CONF)/apache 
    1416        cp -R ./backup $(SYSTEM_CONF)/apache 
     
    1719 
    1820        cp -R ./httpd.conf $(ROOT_APACHE_CONF)/vhcs2.conf 
     21        cp -R ./fastcgi.conf ${ROOT_APACHE_CONF}/mods-available/fastcgi.conf 
    1922 
    2023uninstall: 
     
    2225        rm -rf $(SYSTEM_CONF)/apache 
    2326        rm -rf $(ROOT_APACHE_CONF)/vhcs2.conf 
    24  
  • trunk/configs/dists/fedora/apache/httpd.conf

    r154 r284  
    1717    ErrorDocument 404 /vhcs2/errordocs/index.php 
    1818    DirectoryIndex index.html index.php 
    19     Allow from all 
    2019</Directory> 
    2120 
    2221<Directory /var/www/vhcs2/gui/tools/filemanager> 
    23     php_flag register_globals On 
    24     php_admin_value open_basedir "/var/www/vhcs2/gui/tools/filemanager/:/tmp/:/usr/share/php/" 
     22    <IfModule mod_php.c> 
     23        php_flag register_globals On 
     24        php_admin_value open_basedir "/srv/www/vhcs2/gui/tools/filemanager/:/tmp/:/usr/share/php/" 
     25    </IfModule> 
    2526</Directory> 
    2627 
     
    4849</VirtualHost> 
    4950 
     51# 
     52# AWStats 
     53# 
     54 
     55Alias /awstatsclasses "/srv/www/awstats/classes/" 
     56Alias /awstatscss "/srv/www/awstats/css/" 
     57Alias /awstatsicons "/srv/www/awstats/icon/" 
     58Alias /awstatsjs "/srv/www/awstats/js/" 
     59Alias /stats "/usr/lib/cgi-bin/awstats/" 
     60 
     61<Directory /usr/lib/cgi-bin/awstats> 
     62    AllowOverride AuthConfig 
     63    Options -Includes FollowSymLinks +ExecCGI MultiViews 
     64    AddHandler cgi-script cgi pl 
     65    DirectoryIndex awstats.pl 
     66    Order deny,allow 
     67    Allow from all 
     68</Directory> 
     69 
     70# 
     71# Header End 
     72# 
     73 
    5074# httpd [{IP}] virtual host entry BEGIN. 
    5175# httpd [{IP}] virtual host entry END. 
  • trunk/configs/dists/fedora/apache/parts/als_entry.tpl

    r154 r284  
    55    #Group {SUEXEC_GROUP} 
    66    # 
    7      
    8     # 
    9     #SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
    10     # 
     7 
     8    SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
    119 
    1210    ServerAdmin     root@{ALS_NAME} 
     
    3129    # httpd als entry redirect entry BEGIN. 
    3230    # httpd als entry redirect entry END. 
    33        
     31 
    3432    # httpd als entry cgi support BEGIN. 
    3533    # httpd als entry cgi support END. 
    3634 
    37     <Directory {GUI_ROOT_DIR}> 
    38         php_admin_value open_basedir "{GUI_ROOT_DIR}/:/etc/vhcs2/:/proc/:{WWW_DIR}/:/tmp/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" 
    39         php_admin_value session.save_path "/tmp/" 
    40     </Directory> 
     35    <IfModule mod_fastcgi.c> 
     36        ScriptAlias /php4/ {STARTER_DIR}/{DMN_NAME}/ 
     37        <Directory "{STARTER_DIR}/{DMN_NAME}"> 
     38            AllowOverride None 
     39            Options +ExecCGI -MultiViews -Indexes 
     40            Order allow,deny 
     41            Allow from all 
     42        </Directory> 
     43 
     44        ScriptAlias /php5/ {STARTER_DIR}/{DMN_NAME}/ 
     45        <Directory "{STARTER_DIR}/{DMN_NAME}"> 
     46            AllowOverride None 
     47            Options +ExecCGI -MultiViews -Indexes 
     48            Order allow,deny 
     49            Allow from all 
     50        </Directory> 
     51    </IfModule> 
     52 
     53    <IfModule mod_php.c> 
     54        <Directory {GUI_ROOT_DIR}> 
     55            php_admin_value open_basedir "{GUI_ROOT_DIR}/:/etc/vhcs2/:/proc/:{WWW_DIR}/:/tmp/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" 
     56            php_admin_value session.save_path "/tmp/" 
     57        </Directory> 
     58    </IfModule> 
    4159 
    4260    # httpd als entry PHP2 support BEGIN. 
  • trunk/configs/dists/fedora/apache/parts/dmn_entry.tpl

    r154 r284  
    11<VirtualHost {DMN_IP}:80> 
    2      
     2 
    33    # 
    4     #User {SUEXEC_USER} 
    5     #Group {SUEXEC_GROUP} 
     4    # User {SUEXEC_USER} 
     5    # Group {SUEXEC_GROUP} 
    66    # 
    7      
    8     # 
    9     #SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
    10     # 
     7 
     8    SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
    119 
    1210    ServerAdmin     root@{DMN_NAME} 
    1311    DocumentRoot    {WWW_DIR}/{DMN_NAME}/htdocs 
    14      
     12 
    1513    ServerName      {DMN_NAME} 
    1614    ServerAlias     www.{DMN_NAME} {DMN_NAME} *.{DMN_NAME} 
    17      
     15 
    1816    ErrorLog        {APACHE_USERS_LOG_DIR}/{DMN_NAME}-error.log 
    1917    TransferLog     {APACHE_USERS_LOG_DIR}/{DMN_NAME}-access.log 
    20      
     18 
    2119    CustomLog       {APACHE_LOG_DIR}/{DMN_NAME}-traf.log traff 
    2220    CustomLog       {APACHE_LOG_DIR}/{DMN_NAME}-combined.log combined 
    23      
     21 
    2422    Alias /errors   {WWW_DIR}/{DMN_NAME}/errors/ 
    25      
     23 
     24    Redirect /stats http://{DMN_NAME}/awstats/awstats.pl 
     25 
    2626    ErrorDocument 401 /errors/401/index.php 
    2727    ErrorDocument 403 /errors/403/index.php 
     
    3131    # httpd dmn entry cgi support BEGIN. 
    3232    # httpd dmn entry cgi support END. 
    33      
    34     <Directory {GUI_ROOT_DIR}> 
    35         php_admin_value open_basedir "{GUI_ROOT_DIR}/:/etc/vhcs2/:/proc/:{WWW_DIR}/:/tmp/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" 
    36         php_admin_value session.save_path "/tmp/" 
    37     </Directory> 
     33 
     34    <IfModule mod_fastcgi.c> 
     35        ScriptAlias /php4/ {STARTER_DIR}/{DMN_NAME}/ 
     36        <Directory "{STARTER_DIR}/{DMN_NAME}"> 
     37            AllowOverride None 
     38            Options +ExecCGI -MultiViews -Indexes 
     39            Order allow,deny 
     40            Allow from all 
     41        </Directory> 
     42 
     43        ScriptAlias /php5/ {STARTER_DIR}/{DMN_NAME}/ 
     44        <Directory "{STARTER_DIR}/{DMN_NAME}"> 
     45            AllowOverride None 
     46            Options +ExecCGI -MultiViews -Indexes 
     47            Order allow,deny 
     48            Allow from all 
     49        </Directory> 
     50    </IfModule> 
     51 
     52    <IfModule mod_php.c> 
     53        <Directory {GUI_ROOT_DIR}> 
     54            php_admin_value open_basedir "{GUI_ROOT_DIR}/:/etc/vhcs2/:/proc/:{WWW_DIR}/:/tmp/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" 
     55            php_admin_value session.save_path "/tmp/" 
     56        </Directory> 
     57    </IfModule> 
    3858 
    3959    # httpd dmn entry PHP2 support BEGIN. 
    4060    # httpd dmn entry PHP2 support END. 
    41      
     61 
    4262    <Directory {WWW_DIR}/{DMN_NAME}/htdocs> 
    4363        # httpd dmn entry PHP support BEGIN. 
    4464        # httpd dmn entry PHP support END. 
    4565        Options -Indexes Includes FollowSymLinks MultiViews 
    46         AllowOverride AuthConfig FileInfo 
     66        AllowOverride All 
    4767        Order allow,deny 
    4868        Allow from all 
    4969    </Directory> 
    50      
     70 
    5171</VirtualHost> 
  • trunk/configs/dists/fedora/apache/parts/sub_entry.tpl

    r154 r284  
    55    #Group {SUEXEC_GROUP} 
    66    # 
    7      
    8     # 
    9     #SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
    10     # 
     7 
     8    SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
    119 
    1210    ServerAdmin     root@{DMN_NAME} 
    1311    DocumentRoot    {WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/htdocs 
    14      
     12 
    1513    ServerName      {SUB_NAME} 
    1614    ServerAlias     www.{SUB_NAME} {SUB_NAME} *.{SUB_NAME} 
    17      
     15 
    1816    ErrorLog        {APACHE_USERS_LOG_DIR}/{SUB_NAME}-error.log 
    1917    TransferLog     {APACHE_USERS_LOG_DIR}/{SUB_NAME}-access.log 
    20      
     18 
    2119    CustomLog       {APACHE_LOG_DIR}/{DMN_NAME}-traf.log traff 
    2220    CustomLog       {APACHE_LOG_DIR}/{DMN_NAME}-combined.log combined 
     
    2523 
    2624    <Directory {WWW_DIR}/{DMN_NAME}/errors/> 
    27         php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/errors/" 
     25        <IfModule mod_php.c> 
     26            php_admin_value open_basedir "{WWW_DIR}/{DMN_NAME}/errors/" 
     27        </IfModule> 
    2828    </Directory> 
    2929 
     
    3636    # httpd sub entry cgi support END. 
    3737 
    38     <Directory {GUI_ROOT_DIR}> 
    39         php_admin_value open_basedir "{GUI_ROOT_DIR}/:/etc/vhcs2/:/proc/:{WWW_DIR}/:/tmp/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" 
    40         php_admin_value session.save_path "/tmp/" 
    41     </Directory> 
     38    <IfModule mod_fastcgi.c> 
     39        ScriptAlias /php4/ {STARTER_DIR}/{DMN_NAME}/ 
     40        <Directory "{STARTER_DIR}/{DMN_NAME}"> 
     41            AllowOverride None 
     42            Options +ExecCGI -MultiViews -Indexes 
     43            Order allow,deny 
     44            Allow from all 
     45        </Directory> 
     46 
     47        ScriptAlias /php5/ {STARTER_DIR}/{DMN_NAME}/ 
     48        <Directory "{STARTER_DIR}/{DMN_NAME}"> 
     49            AllowOverride None 
     50            Options +ExecCGI -MultiViews -Indexes 
     51            Order allow,deny 
     52            Allow from all 
     53        </Directory> 
     54    </IfModule> 
     55 
     56    <IfModule mod_php.c> 
     57        <Directory {GUI_ROOT_DIR}> 
     58            php_admin_value open_basedir "{GUI_ROOT_DIR}/:/etc/vhcs2/:/proc/:{WWW_DIR}/:/tmp/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" 
     59            php_admin_value session.save_path "/tmp/" 
     60        </Directory> 
     61    </IfModule> 
    4262 
    4363    # httpd sub entry PHP2 support BEGIN. 
    4464    # httpd sub entry PHP2 support END. 
    45      
     65 
    4666    <Directory {WWW_DIR}/{DMN_NAME}{MOUNT_POINT}/htdocs> 
    4767        # httpd sub entry PHP support BEGIN. 
    4868        # httpd sub entry PHP support END. 
    4969        Options -Indexes Includes FollowSymLinks MultiViews 
    50         AllowOverride AuthConfig FileInfo 
     70        AllowOverride All 
    5171        Order allow,deny 
    5272        Allow from all 
    5373    </Directory> 
    54      
     74 
    5575</VirtualHost> 
  • trunk/configs/dists/fedora/apache/parts/vhcs2_base.tpl

    r154 r284  
    11# httpd Data BEGIN. 
    22 
     3# 
     4# wget-hack prevention 
     5# 
     6<IfModule mod_rewrite.c> 
     7    RewriteEngine on 
     8    RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple 
     9    RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1] 
     10</IfModule> 
    311# 
    412# Web traffic accounting. 
     
    2028 
    2129<Directory /srv/www/vhcs2/gui/tools/filemanager> 
     30    <IfModule mod_php.c> 
    2231    php_flag register_globals On 
    2332    php_admin_value open_basedir "/srv/www/vhcs2/gui/tools/filemanager/:/tmp/:/usr/share/php/" 
     33    </IfModule> 
    2434</Directory> 
    2535 
     
    4757</VirtualHost> 
    4858 
     59 
     60# 
     61# AWStats-Alias 
     62# 
     63 
     64Alias /awstatsclasses "/srv/www/awstats/classes/" 
     65Alias /awstatscss "/srv/www/awstats/css/" 
     66Alias /awstatsicons "/srv/www/awstats/icon/" 
     67Alias /awstatsjs "/srv/www/awstats/js/" 
     68ScriptAlias /stats "/usr/lib/cgi-bin/awstats/awstats.pl" 
     69 
     70<Directory /usr/lib/cgi-bin/awstats> 
     71    AllowOverride none 
     72    Options Indexes Includes FollowSymLinks MultiViews 
     73    Order allow,deny 
     74    Allow from all 
     75</Directory> 
     76 
     77# 
     78# Header End 
     79# 
     80 
    4981# httpd [{IP}] virtual host entry BEGIN. 
    5082# httpd [{IP}] virtual host entry END. 
  • trunk/configs/dists/fedora/apache/working/vhcs2.conf

    r154 r284  
    11# httpd Data BEGIN. 
     2 
     3# 
     4# wget-hack prevention 
     5# 
     6<IfModule mod_rewrite.c> 
     7    RewriteEngine on 
     8    RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple 
     9    RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1] 
     10</IfModule> 
    211 
    312# 
     
    1726    ErrorDocument 404 /vhcs2/errordocs/index.php 
    1827    DirectoryIndex index.html index.php 
    19     Allow from all 
    2028</Directory> 
    2129 
     
    4856</VirtualHost> 
    4957 
     58# 
     59# AWStats 
     60# 
     61 
     62Alias /awstatsclasses "/srv/www/awstats/classes/" 
     63Alias /awstatscss "/srv/www/awstats/css/" 
     64Alias /awstatsicons "/srv/www/awstats/icon/" 
     65Alias /awstatsjs "/srv/www/awstats/js/" 
     66Alias /stats "/usr/lib/cgi-bin/awstats/" 
     67 
     68<Directory /usr/lib/cgi-bin/awstats> 
     69    AllowOverride AuthConfig 
     70    Options -Includes FollowSymLinks +ExecCGI MultiViews 
     71    AddHandler cgi-script cgi pl 
     72    DirectoryIndex awstats.pl 
     73    Order deny,allow 
     74    Allow from all 
     75</Directory> 
     76 
     77# 
     78# Header End 
     79# 
     80 
    5081# httpd [{IP}] virtual host entry BEGIN. 
    5182# httpd [{IP}] virtual host entry END. 
  • trunk/configs/dists/fedora/bind/parts/cfg_entry.tpl

    r154 r284  
    11zone "{DMN_NAME}" { 
    22        type    master; 
    3         file    "{DB_DIR}/{DMN_NAME}.db"; 
     3        file    "{DMN_NAME}.db"; 
    44        notify  YES; 
    55}; 
  • trunk/configs/dists/fedora/crontab/crontab.conf

    r154 r284  
    22# delayed tasks START. 
    33 
    4 0       23      * * *  {QUOTA_ROOT_DIR}/vhcs2-dsk-quota &>{LOG_DIR}/vhcs2-qsk-quota.log 
     4# Quota 
     50               23      * * *  {QUOTA_ROOT_DIR}/vhcs2-dsk-quota &>{LOG_DIR}/vhcs2-qsk-quota.log 
    56 
     7# Traffic 
    680,30    *       * * *  {TRAFF_ROOT_DIR}/vhcs2-srv-traff &>{LOG_DIR}/vhcs2-srv-traff.log 
    7 30      23      * * *  {TOOLS_ROOT_DIR}/vhcs2-httpd-logs-mngr &>{LOG_DIR}/vhcs2-httpd-logs-mngr.log 
     90,30    *       * * *  {TRAFF_ROOT_DIR}/vhcs2-vrl-traff &>{LOG_DIR}/vhcs2-vrl-traff.log 
     1030              23      * * *  {TOOLS_ROOT_DIR}/vhcs2-httpd-logs-mngr &>{LOG_DIR}/vhcs2-httpd-logs-mngr.log 
    811 
    9 0,30    *       * * *  {TRAFF_ROOT_DIR}/vhcs2-vrl-traff &>{LOG_DIR}/vhcs2-vrl-traff.log 
     12# Backup 
     130               1       * * *  {BACKUP_ROOT_DIR}/vhcs2-backup-all yes &>{LOG_DIR}/vhcs2-backup-all-mngr.log 
    1014 
    11 0       1       * * *  {BACKUP_ROOT_DIR}/vhcs2-backup-all yes &>{LOG_DIR}/vhcs2-backup-all-mngr.log 
     15# AWStats 
     1630      */2     * * *   /usr/share/awstats/tools/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats/awstats.pl 
     17 
     18# Rootkit Hunter 
     190       0,12    * * *   rkhunter --createlogfile --cronjob 
    1220 
    1321# [{DMN_NAME}] backup task START. 
  • trunk/configs/dists/fedora/crontab/working/crontab.conf

    r154 r284  
    22# delayed tasks START. 
    33 
    4 0       23      * * *  {QUOTA_ROOT_DIR}/vhcs2-dsk-quota &>{LOG_DIR}/vhcs2-qsk-quota.log 
     4# Quota 
     50               23      * * *  {QUOTA_ROOT_DIR}/vhcs2-dsk-quota &>{LOG_DIR}/vhcs2-qsk-quota.log 
    56 
     7# Traffic 
    680,30    *       * * *  {TRAFF_ROOT_DIR}/vhcs2-srv-traff &>{LOG_DIR}/vhcs2-srv-traff.log 
    7 30      23      * * *  {TOOLS_ROOT_DIR}/vhcs2-httpd-logs-mngr &>{LOG_DIR}/vhcs2-httpd-logs-mngr.log 
     90,30    *       * * *  {TRAFF_ROOT_DIR}/vhcs2-vrl-traff &>{LOG_DIR}/vhcs2-vrl-traff.log 
     1030              23      * * *  {TOOLS_ROOT_DIR}/vhcs2-httpd-logs-mngr &>{LOG_DIR}/vhcs2-httpd-logs-mngr.log 
    811 
    9 0,30    *       * * *  {TRAFF_ROOT_DIR}/vhcs2-vrl-traff &>{LOG_DIR}/vhcs2-vrl-traff.log 
     12# Backup 
     130               1       * * *  {BACKUP_ROOT_DIR}/vhcs2-backup-all yes &>{LOG_DIR}/vhcs2-backup-all-mngr.log 
    1014 
    11 0       1       * * *  {BACKUP_ROOT_DIR}/vhcs2-backup-all yes &>{LOG_DIR}/vhcs2-backup-all-mngr.log 
     15# AWStats 
     1630      */2     * * *   /usr/share/awstats/tools/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats/awstats.pl 
     17 
     18# Rootkit Hunter 
     190       0,12    * * *   rkhunter --createlogfile --cronjob 
    1220 
    1321# [{DMN_NAME}] backup task START. 
     
    1523 
    1624# delayed tasks END. 
    17  
  • trunk/configs/dists/fedora/database/htaccess.sql

    r154 r284  
    1 -- MySQL dump 9.11 
    2 -- 
    3 -- Host: localhost    Database: vhcs22 
    4 -- ------------------------------------------------------ 
    5 -- Server version       4.0.24_Debian-2-log 
    6  
    7 -- 
    8 -- Table structure for table `htaccess_users` 
    9 -- 
     1# VHCS(tm) - Virtual Hosting Control System 
     2# (c) 2001-2006 moleSoftware 
     3# http://vhcs.net | http://www.molesoftware.com 
     4# All rights reserved 
     5
     6# Datenbank: `vhcs_pro_dev` 
     7# -------------------------------------------------------- 
     8
     9# Tabellenstruktur f�elle `htaccess_users` 
     10
    1011 
    1112DROP TABLE IF EXISTS `htaccess_users`; 
     
    1516  `uname` varchar(255) default NULL, 
    1617  `upass` varchar(255) default NULL, 
     18  `status` varchar(255) default NULL, 
    1719  UNIQUE KEY `id` (`id`) 
    1820) TYPE=MyISAM; 
    1921 
    20 -- 
    21 -- Dumping data for table `htaccess_users` 
    22 -- 
     22
     23# Daten f�elle `htaccess_users` 
     24
    2325 
    24 -- 
    25 -- Table structure for table `htaccess_groups` 
    26 -- 
     26 
     27# -------------------------------------------------------- 
     28 
     29
     30# Tabellenstruktur f�elle `htaccess_groups` 
     31
    2732 
    2833DROP TABLE IF EXISTS `htaccess_groups`; 
     
    3237  `ugroup` varchar(255) default NULL, 
    3338  `members` text, 
     39  `status` varchar(255) default NULL, 
    3440  UNIQUE KEY `id` (`id`) 
    3541) TYPE=MyISAM; 
    3642 
    37 -- 
    38 -- Dumping data for table `htaccess_groups` 
    39 -- 
     43
     44# Daten f�elle `htaccess_groups` 
     45
    4046 
    41 -- 
    42 -- Table structure for table `htaccess` 
    43 -- 
     47 
     48# -------------------------------------------------------- 
     49 
     50
     51# Tabellenstruktur f�elle `htaccess` 
     52
    4453 
    4554DROP TABLE IF EXISTS `htaccess`; 
     
    5261  `auth_name` varchar(255) default NULL, 
    5362  `path` text, 
    54   `status` text
     63  `status` varchar(255) default NULL
    5564  UNIQUE KEY `id` (`id`) 
    5665) TYPE=MyISAM; 
    5766 
    58 -- 
    59 -- Dumping data for table `htaccess` 
    60 -- 
     67
     68# Daten f�elle `htaccess` 
     69
    6170