Current time: 11-26-2024, 02:54 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] domain being redirected to ispCP
Author Message
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #1
[SOLVED] domain being redirected to ispCP
ispcp.conf

PHP Code:
<VirtualHost 151.1.153.32:80>

    <
IfModule suexec_module>
           
SuexecUserGroup vu2001 vu2001
    
</IfModule>                         

    
ServerAdmin     webmaster@assolavori.it

    DocumentRoot    
/var/www/virtual/assolavori.it/htdocs

    ServerName      assolavori
.it
    ServerAlias     www
.assolavori.it assolavori.it *.assolavori.it vu2001.151.1.153.32

    Alias 
/errors   /var/www/virtual/assolavori.it/errors/

    
RedirectMatch permanent ^/ftp([\/]?)                http://151.1.153.32/ftp/
    
RedirectMatch permanent ^/pma([\/]?)                http://151.1.153.32/pma/
    
RedirectMatch permanent ^/webmail([\/]?)    http://151.1.153.32/webmail/    
    
RedirectMatch permanent ^/ispcp([\/]?)              http://151.1.153.32/    

    
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 assolavori.it
    
</IfModule>                

    
# httpd awstats support BEGIN.

   
ProxyRequests Off

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

   
ProxyPass                    /stats  http://localhost/stats/assolavori.it
   
ProxyPassReverse             /stats  http://localhost/stats/assolavori.it

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

   
# httpd awstats support END.

    # httpd dmn entry cgi support BEGIN.
    # httpd dmn entry cgi support END.

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

    
Include /etc/apache2/ispcp/assolavori.it.conf

</VirtualHost>
# httpd [assolavori.it] dmn entry END.

# httpd [assolavori.it] dmn group entry END. 


default-error.log

Code:
[Mon Sep 21 05:23:44 2009] [error] [client 220.194.46.2] File does not exist: /var/www/ispcp/gui/scripts
[Mon Sep 21 05:23:45 2009] [error] [client 220.194.46.2] File does not exist: /var/www/ispcp/gui/scripts
[Mon Sep 21 05:23:46 2009] [error] [client 220.194.46.2] File does not exist: /var/www/ispcp/gui/phpMyAdmin
[Mon Sep 21 05:23:46 2009] [error] [client 220.194.46.2] File does not exist: /var/www/ispcp/gui/sql
[Mon Sep 21 05:23:47 2009] [error] [client 220.194.46.2] File does not exist: /var/www/ispcp/gui/mysql
[Mon Sep 21 05:31:11 2009] [error] [client 174.37.205.76] File does not exist: /var/www/ispcp/gui/feed
[Mon Sep 21 06:01:17 2009] [error] [client 174.36.241.148] File does not exist: /var/www/ispcp/gui/feed
[Mon Sep 21 06:19:18 2009] [notice] SIGUSR1 received.  Doing graceful restart
[Mon Sep 21 06:19:18 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Mon Sep 21 06:19:19 2009] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Sep 21 06:19:19 2009] [notice] FastCGI: process manager initialized (pid 23467)
[Mon Sep 21 06:19:19 2009] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 23468)
[Mon Sep 21 06:19:19 2009] [notice] Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 configured -- resuming normal operations
[Mon Sep 21 06:19:19 2009] [warn] long lost child came home! (pid 8444)
[Mon Sep 21 06:31:23 2009] [error] [client 174.36.241.148] File does not exist: /var/www/ispcp/gui/feed
[Mon Sep 21 06:32:20 2009] [notice] SIGUSR1 received.  Doing graceful restart
[Mon Sep 21 06:32:20 2009] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
[Mon Sep 21 06:32:20 2009] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Mon Sep 21 06:32:20 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
[Mon Sep 21 06:32:20 2009] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Sep 21 06:32:20 2009] [notice] FastCGI: process manager initialized (pid 23902)
[Mon Sep 21 06:32:20 2009] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 23906)
[Mon Sep 21 06:32:20 2009] [notice] Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 configured -- resuming normal operations
[Mon Sep 21 06:32:20 2009] [warn] long lost child came home! (pid 23465)
[Mon Sep 21 06:36:22 2009] [error] [client 84.222.190.220] File does not exist: /var/www/ispcp/gui/wp-admin
[Mon Sep 21 06:36:51 2009] [error] [client 84.222.190.220] File does not exist: /var/www/ispcp/gui/wp-admin
[Mon Sep 21 06:36:52 2009] [error] [client 84.222.190.220] File does not exist: /var/www/ispcp/gui/wp-admin
[Mon Sep 21 06:46:05 2009] [notice] caught SIGTERM, shutting down
[Mon Sep 21 06:46:09 2009] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Sep 21 06:46:09 2009] [notice] FastCGI: process manager initialized (pid 24166)
[Mon Sep 21 06:46:09 2009] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 24167)
[Mon Sep 21 06:46:09 2009] [notice] Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 configured -- resuming normal operations
[Mon Sep 21 06:46:08 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Sep 21 06:46:26 2009] [notice] caught SIGTERM, shutting down
[Mon Sep 21 06:50:08 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Sep 21 06:50:08 2009] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Sep 21 06:50:08 2009] [notice] FastCGI: process manager initialized (pid 632)
[Mon Sep 21 06:50:08 2009] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 633)
[Mon Sep 21 06:50:08 2009] [notice] Apache/2.2.9 (Debian) mod_fastcgi/2.4.6 configured -- resuming normal operations
[Mon Sep 21 07:01:27 2009] [error] [client 174.36.228.154] File does not exist: /var/www/ispcp/gui/feed
(This post was last modified: 09-21-2009 03:19 PM by theprincy.)
09-21-2009 03:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[SOLVED] domain being redirected to ispCP - theprincy - 09-21-2009 03:08 PM

Forum Jump:


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