Current time: 11-25-2024, 10:27 PM Hello There, Guest! (LoginRegister)


Post Reply 
After update to 1.0.2 from 1.0.0 i can't make sites runing
Author Message
kleidi Offline
Junior Member
*

Posts: 16
Joined: May 2009
Reputation: 0
Post: #8
RE: After update to 1.0.2 from 1.0.0 i can't make sites runing
Thx for your reply.
1. When i tried to access my domains i receive a 404 error (pertegjithe.com). I can access control panel without problems. But, after update i have tried to add again one of my old domains (viterinat.com) bcz i thought that in this way, the control panel will add all settings like old ones, but i was wrong. Now, for that domain i receive 500 error and i think that what i did is not the way to resolve this issue.

2. - /etc/apache2/sites-enabled/ispcp.conf Wink
xxx.xxx.xxx.xxx is my server ip and is modified by me at this post Tongue anyway it appears in other txt here Wink
Code:
# httpd Data BEGIN.

#
# wget-hack prevention
#

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple
    RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1]
</IfModule>

#
# Log processing.
#

LogFormat "%B" traff
LogFormat "%v %b %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" ispcplog

CustomLog "| /var/www/ispcp/engine/ispcp-apache-logger" ispcplog
ErrorLog "| /var/www/ispcp/engine/ispcp-apache-logger -e"

#
# mod_cband configuration
#

<IfModule mod_cband.c>
    CBandScoreFlushPeriod 10
    CBandRandomPulse On
</IfModule>

#
# let the customer decide what charset he likes to use
#

AddDefaultCharset Off

#
# Header End
#

# httpd [xxx.xxx.xxx.xxx] virtual host entry BEGIN.

NameVirtualHost xxx.xxx.xxx.xxx:80
# httpd [{DMN_GRP}] dmn group entry BEGIN.
# httpd [{DMN_GRP}] dmn group entry END.
# httpd [viterinat.com] dmn group entry BEGIN.

<IfModule mod_cband.c>
    <CBandUser viterinat.com>
        # CBandUserLimit 0Mi
        # CBandUserScoreboard /var/www/scoreboards/viterinat.com
        # CBandUserPeriod 4W
        # CBandUserPeriodSlice 1W
        # CBandUserExceededURL http://server2.albmania.com:2408/errors/bw_exceeded.html
    </CBandUser>
</IfModule>


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

# httpd [viterinat.com] dmn entry BEGIN.
<VirtualHost xxx.xxx.xxx.xxx:80>

    <IfModule suexec_module>
           SuexecUserGroup vu2001 vu2001
    </IfModule>
ServerAdmin     webmaster@viterinat.com
    DocumentRoot    /var/www/virtual/viterinat.com/htdocs

    ServerName      viterinat.com
    ServerAlias     www.viterinat.com viterinat.com *.viterinat.com

    Alias /errors   /var/www/virtual/viterinat.com/errors/

    RedirectMatch permanent ^/ftp([\/]?)                http://server2.albmania.com:2408/ftp/
    RedirectMatch permanent ^/pma([\/]?)                http://server2.albmania.com:2408/pma/
    RedirectMatch permanent ^/webmail([\/]?)    http://server2.albmania.com:2408/webmail/

    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 viterinat.com
    </IfModule>

    # httpd awstats support BEGIN.

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

   ProxyPass                    /stats  http://localhost/stats/viterinat.com
   ProxyPassReverse             /stats  http://localhost/stats/viterinat.com

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

   # httpd awstats support END.

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

    <Directory /var/www/virtual/viterinat.com/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/viterinat.com/:/var/www/virtual/viterinat.com/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/viterinat.com/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/viterinat.com/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2001 -t -i'
    </IfModule>
<IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/viterinat.com/
        <Directory "/var/www/fcgi/viterinat.com">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
Include /etc/apache2/mods-enabled/fcgid_ispcp.conf
    <Directory /var/www/virtual/viterinat.com/htdocs>
            FCGIWrapper /var/www/fcgi/viterinat.com/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/viterinat.com">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    # httpd dmn entry PHP2 support END.

    Include /etc/apache2/ispcp/viterinat.com.conf

</VirtualHost>
# httpd [viterinat.com] dmn entry END.

# httpd [viterinat.com] dmn group entry END.


# httpd [{ALS_NAME}] als entry BEGIN.
# httpd [{ALS_NAME}] als entry END.

# httpd [xxx.xxx.xxx.xxx] virtual host entry END.

# httpd [{IP}] virtual host entry BEGIN.
# httpd [{IP}] virtual host entry END.

# httpd Data END.

- /etc/apache2/sites-enabled/00-master.conf
Code:
#
# ispCP Ď^É (OMEGA) a Virtual Hosting Control System
#
# @copyright    2001-2006 by moleSoftware GmbH
# @copyright    2006-2008 by ispCP | http://isp-control.net
# @version              SVN: $Id$
# @link                 http://isp-control.net
# @author               ispCP Team
#
# @license
#   This program is free software; you can redistribute it and/or modify it under
#   the terms of the MPL General Public License as published by the Free Software
#   Foundation; either version 1.1 of the License, or (at your option) any later
#   version.
#   You should have received a copy of the MPL Mozilla Public License along with
#   this program; if not, write to the Open Source Initiative (OSI)
#   http://opensource.org | osi@opensource.org
#
################################################################################​
#
# Master Begin
#

<VirtualHost 212.117.174.121:2408>

    ServerAdmin     admin@albmania.com
    DocumentRoot    /var/www/ispcp/gui

    ServerName      server2.albmania.com:2408

    Alias /errors   /var/www/ispcp/gui/errordocs/

    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

    Alias /pma      /var/www/ispcp/gui/tools/pma/
    Alias /webmail  /var/www/ispcp/gui/tools/webmail/
    Alias /ftp      /var/www/ispcp/gui/tools/filemanager/

    <IfModule suexec_module>
           SuexecUserGroup vu2000 vu2000
    </IfModule>

    <Directory /var/www/ispcp/gui>
        Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_fcgid.c>
        <Directory /var/www/ispcp/gui>
            FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

    <IfModule mod_fcgid.c>
        <Directory /var/www/ispcp/gui>
            FCGIWrapper /var/www/fcgi/master/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/master/
        <Directory "/var/www/fcgi/master">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

    <IfModule mod_php5.c>
        <Directory /var/www/ispcp/gui>
            php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/$
            php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
            php_admin_value upload_tmp_dir "/var/www/ispcp/gui/phptmp/"
        </Directory>
    </IfModule>

</VirtualHost>

#
# Master End
#

3. When restarting proft i get this msg that seems to be OK:
Code:
(root@W003)-(/etc/apache2/sites-enabled) $ /etc/init.d/proftpd restart
Stopping ftp server: proftpd.
Starting ftp server: proftpd - processing configuration directory '/etc/proftpd/ispcp'
.
(root@W003)-(/etc/apache2/sites-enabled) $

4. When i tried to connect to ftp with old logins i get this error from filezilla:
- to viterinat.com:
Code:
Status:    Resolving address of ftp.viterinat.com
Status:    Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known".
Error:    Could not connect to server
Status:    Waiting to retry...
Status:    Resolving address of ftp.viterinat.com
Status:    Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known".
Error:    Could not connect to server
Status:    Waiting to retry...

- to pertegjithe.com
Code:
Status:    Resolving address of pertegjithe.com
Status:    Connecting to 212.117.174.122:21...
Status:    Connection established, waiting for welcome message...
Error:    Connection closed by server
Error:    Could not connect to server
Status:    Waiting to retry...
Status:    Resolving address of pertegjithe.com
Status:    Connecting to 212.117.174.122:21...
Status:    Connection established, waiting for welcome message...
Error:    Connection closed by server
Error:    Could not connect to server
Status:    Waiting to retry...
Hope that i was clear! Thx again!
(This post was last modified: 09-24-2009 09:48 AM by kleidi.)
09-24-2009 09:46 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: After update to 1.0.2 from 1.0.0 i can't make sites runing - kleidi - 09-24-2009 09:46 AM

Forum Jump:


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