Current time: 04-20-2024, 01:19 AM Hello There, Guest! (LoginRegister)


Post Reply 
no mySQL access via Joomla after update from 1.0.0rc2 to 1.0.0 to 1.0.5
Author Message
thoand Offline
Junior Member
*

Posts: 30
Joined: May 2010
Reputation: 0
Post: #11
RE: no mySQL access via Joomla after update from 1.0.0rc2 to 1.0.0 to 1.0.5
I am not sure what it uses, it should use php5.

In the /etc/apache2/sites-enabled/ispcp.conf is the following domain entry:
Code:
# httpd [domain.tld] dmn group entry BEGIN.

<IfModule mod_cband.c>
    <CBandUser domain.tld>
        # CBandUserLimit 0Mi
        # CBandUserScoreboard /var/www/scoreboards/domain.tld
        # CBandUserPeriod 4W
        # CBandUserPeriodSlice 1W
        # CBandUserExceededURL http://admin.h1202717.stratoserver.net/errors/bw_exceeded.html
    </CBandUser>
</IfModule>


# httpd [moodle.domain.tld] sub entry BEGIN.
<VirtualHost 85.214.85.156:80>

    #
    #User vu2003
    #Group vu2003
    #

    <IfModule suexec_module>
           SuexecUserGroup vu2003 vu2003
    </IfModule>

    ServerAdmin     webmaster@domain.tld
    DocumentRoot    /var/www/virtual/domain.tld/moodle/htdocs

    ServerName      moodle.domain.tld
    ServerAlias     www.moodle.domain.tld moodle.domain.tld *.moodle.domain.tld

    Alias /errors /var/www/virtual/domain.tld/errors/

    RedirectMatch permanent ^/ftp[\/]?$         http://admin.h1202717.stratoserver.net/ftp/
    RedirectMatch permanent ^/pma[\/]?$         http://admin.h1202717.stratoserver.net/pma/
    RedirectMatch permanent ^/webmail[\/]?$     http://admin.h1202717.stratoserver.net/webmail/
    RedirectMatch permanent ^/ispcp[\/]?$       http://admin.h1202717.stratoserver.net/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    <IfModule mod_cband.c>
        CBandUser domain.tld
    </IfModule>

    # httpd sub entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/domain.tld/moodle/cgi-bin/
    <Directory /var/www/virtual/domain.tld/moodle/cgi-bin>
        AllowOverride AuthConfig
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd sub entry cgi support END.

    <Directory /var/www/virtual/domain.tld/moodle/htdocs>
        # httpd sub entry PHP support BEGIN.
        # httpd sub entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # httpd sub entry PHP2 support BEGIN.
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/virtual/domain.tld/:/var/www/virtual/domain.tld/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/domain.tld/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/domain.tld/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2003 -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/domain.tld/
        <Directory "/var/www/fcgi/domain.tld">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
                Include /etc/apache2/mods-available/fcgid_ispcp.conf
        <Directory /var/www/virtual/domain.tld/moodle/htdocs>
            FCGIWrapper /var/www/fcgi/domain.tld/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/domain.tld">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    # httpd sub entry PHP2 support END.

    Include /etc/apache2/ispcp/moodle.domain.tld.conf

</VirtualHost>
# httpd [moodle.domain.tld] sub entry END.

# httpd [info.domain.tld] sub entry BEGIN.
<VirtualHost 85.214.85.156:80>

    #
    #User vu2003
    #Group vu2003
    #

    <IfModule suexec_module>
           SuexecUserGroup vu2003 vu2003
    </IfModule>

    ServerAdmin     webmaster@domain.tld
    DocumentRoot    /var/www/virtual/domain.tld/info/htdocs

    ServerName      info.domain.tld
    ServerAlias     www.info.domain.tld info.domain.tld *.info.domain.tld

    Alias /errors /var/www/virtual/domain.tld/errors/

    RedirectMatch permanent ^/ftp[\/]?$         http://admin.h1202717.stratoserver.net/ftp/
    RedirectMatch permanent ^/pma[\/]?$         http://admin.h1202717.stratoserver.net/pma/
    RedirectMatch permanent ^/webmail[\/]?$     http://admin.h1202717.stratoserver.net/webmail/
    RedirectMatch permanent ^/ispcp[\/]?$       http://admin.h1202717.stratoserver.net/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    <IfModule mod_cband.c>
        CBandUser domain.tld
    </IfModule>

    # httpd sub entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/domain.tld/info/cgi-bin/
    <Directory /var/www/virtual/domain.tld/info/cgi-bin>
        AllowOverride AuthConfig
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd sub entry cgi support END.

    <Directory /var/www/virtual/domain.tld/info/htdocs>
        # httpd sub entry PHP support BEGIN.
        # httpd sub entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # httpd sub entry PHP2 support BEGIN.
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/virtual/domain.tld/:/var/www/virtual/domain.tld/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/domain.tld/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/domain.tld/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2003 -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/domain.tld/
        <Directory "/var/www/fcgi/domain.tld">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
                Include /etc/apache2/mods-available/fcgid_ispcp.conf
        <Directory /var/www/virtual/domain.tld/info/htdocs>
            FCGIWrapper /var/www/fcgi/domain.tld/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/domain.tld">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    # httpd sub entry PHP2 support END.

    Include /etc/apache2/ispcp/info.domain.tld.conf

</VirtualHost>
# httpd [info.domain.tld] sub entry END.

# httpd [mrbs.domain.tld] sub entry BEGIN.
<VirtualHost 85.214.85.156:80>

    #
    #User vu2003
    #Group vu2003
    #

    <IfModule suexec_module>
           SuexecUserGroup vu2003 vu2003
    </IfModule>

    ServerAdmin     webmaster@domain.tld
    DocumentRoot    /var/www/virtual/domain.tld/mrbs/htdocs

    ServerName      mrbs.domain.tld
    ServerAlias     www.mrbs.domain.tld mrbs.domain.tld *.mrbs.domain.tld

    Alias /errors /var/www/virtual/domain.tld/errors/

    RedirectMatch permanent ^/ftp[\/]?$         http://admin.h1202717.stratoserver.net/ftp/
    RedirectMatch permanent ^/pma[\/]?$         http://admin.h1202717.stratoserver.net/pma/
    RedirectMatch permanent ^/webmail[\/]?$     http://admin.h1202717.stratoserver.net/webmail/
    RedirectMatch permanent ^/ispcp[\/]?$       http://admin.h1202717.stratoserver.net/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    <IfModule mod_cband.c>
        CBandUser domain.tld
    </IfModule>

    # httpd sub entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/domain.tld/mrbs/cgi-bin/
    <Directory /var/www/virtual/domain.tld/mrbs/cgi-bin>
        AllowOverride AuthConfig
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd sub entry cgi support END.

    <Directory /var/www/virtual/domain.tld/mrbs/htdocs>
        # httpd sub entry PHP support BEGIN.
        # httpd sub entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # httpd sub entry PHP2 support BEGIN.
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/virtual/domain.tld/:/var/www/virtual/domain.tld/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/domain.tld/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/domain.tld/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2003 -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/domain.tld/
        <Directory "/var/www/fcgi/domain.tld">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
                Include /etc/apache2/mods-available/fcgid_ispcp.conf
        <Directory /var/www/virtual/domain.tld/mrbs/htdocs>
            FCGIWrapper /var/www/fcgi/domain.tld/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/domain.tld">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    # httpd sub entry PHP2 support END.

    Include /etc/apache2/ispcp/mrbs.domain.tld.conf

</VirtualHost>
# httpd [mrbs.domain.tld] sub entry END.

# httpd [{SUB_NAME}] sub entry BEGIN.
# httpd [{SUB_NAME}] sub entry END.

# httpd [domain.tld] dmn entry BEGIN.
<VirtualHost 85.214.85.156:80>

    <IfModule suexec_module>
           SuexecUserGroup vu2003 vu2003
    </IfModule>

    ServerAdmin     webmaster@domain.tld
    DocumentRoot    /var/www/virtual/domain.tld/htdocs

    ServerName      domain.tld
    ServerAlias     www.domain.tld domain.tld *.domain.tld vu2003.admin.h1202717.stratoserver.net

    Alias /errors   /var/www/virtual/domain.tld/errors/

    RedirectMatch permanent ^/ftp[\/]?$         http://admin.h1202717.stratoserver.net/ftp/
    RedirectMatch permanent ^/pma[\/]?$         http://admin.h1202717.stratoserver.net/pma/
    RedirectMatch permanent ^/webmail[\/]?$     http://admin.h1202717.stratoserver.net/webmail/
    RedirectMatch permanent ^/ispcp[\/]?$       http://admin.h1202717.stratoserver.net/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    <IfModule mod_cband.c>
        CBandUser domain.tld
    </IfModule>

    # httpd awstats support BEGIN.

   ProxyRequests Off

   <Proxy *>
      Order deny,allow
      Allow from all
   </Proxy>

   ProxyPass                    /stats  http://localhost/stats/domain.tld
   ProxyPassReverse             /stats  http://localhost/stats/domain.tld

    <Location /stats>
        <IfModule mod_rewrite.c>
            RewriteEngine on
            RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=domain.tld&$3 [NC,L]
        </IfModule>
        AuthType Basic
        AuthName "Statistics for domain domain.tld"
        AuthUserFile /var/www/virtual/domain.tld/.htpasswd
        AuthGroupFile /var/www/virtual/domain.tld/.htgroup
        Require group statistics
    </Location>

   # httpd awstats support END.

    # httpd dmn entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/domain.tld/cgi-bin/
    <Directory /var/www/virtual/domain.tld/cgi-bin>
        AllowOverride AuthConfig
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd dmn entry cgi support END.

    <Directory /var/www/virtual/domain.tld/htdocs>
        # httpd dmn entry PHP support BEGIN.
        # httpd dmn entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # httpd dmn entry PHP2 support BEGIN.
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/virtual/domain.tld/:/var/www/virtual/domain.tld/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/domain.tld/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/domain.tld/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2003 -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/domain.tld/
        <Directory "/var/www/fcgi/domain.tld">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
                Include /etc/apache2/mods-available/fcgid_ispcp.conf
        <Directory /var/www/virtual/domain.tld/htdocs>
            FCGIWrapper /var/www/fcgi/domain.tld/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/domain.tld">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    # httpd dmn entry PHP2 support END.

    Include /etc/apache2/ispcp/domain.tld.conf

</VirtualHost>
# httpd [domain.tld] dmn entry END.

# httpd [domain.tld] dmn group entry END.
05-27-2010 06:27 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: no mySQL access via Joomla after update from 1.0.0rc2 to 1.0.0 to 1.0.5 - thoand - 05-27-2010 06:27 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)