Current time: 12-27-2024, 02:08 AM Hello There, Guest! (LoginRegister)


Post Reply 
Domains Not showing after Update
Author Message
Shayne Offline
Junior Member
*

Posts: 53
Joined: Oct 2008
Reputation: 0
Post: #1
Domains Not showing after Update
Hi There

I followed the update and it ran through the process. No errors or anything.

However when I go to any domain listed it takes me to the ispcp Login screen.

When I stoppped the apache server and restarted it gives the following erros:

* Starting web server apache2
Syntax error on line 79 of /etc/apache2/sites-available/ispcp.conf:
RedirectMatch takes two or three arguments, an optional status, then a regular expression and destination URL
...fail!

The ispcp.conf file is as follows:

Quote:# 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 [41.203.29.44] virtual host entry BEGIN.

NameVirtualHost 41.203.29.44:80

# httpd [{DMN_GRP}] dmn group entry BEGIN.
# httpd [{DMN_GRP}] dmn group entry END.
# httpd [motoeuro.co.za] dmn group entry BEGIN.

<IfModule mod_cband.c>
<CBandUser motoeuro.co.za>
# CBandUserLimit 0Mi
# CBandUserScoreboard /var/www/scoreboards/motoeuro.co.za
# CBandUserPeriod 4W
# CBandUserPeriodSlice 1W
# CBandUserExceededURL http://41.203.29.44 /errors/bw_exceeded.html
</CBandUser>
</IfModule>


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

# httpd [motoeuro.co.za] dmn entry BEGIN.
<VirtualHost 41.203.29.44:80>

<IfModule suexec_module>
SuexecUserGroup vu2005 vu2005
</IfModule>

ServerAdmin webmaster@motoeuro.co.za
DocumentRoot /var/www/virtual/motoeuro.co.za/htdocs

ServerName motoeuro.co.za
ServerAlias http://www.motoeuro.co.za motoeuro.co.za *.motoeuro.co.za

Alias /errors /var/www/virtual/motoeuro.co.za/errors/

RedirectMatch permanent ^/ftp([\/]?) http://41.203.29.44 /ftp/
RedirectMatch permanent ^/pma([\/]?) http://41.203.29.44 /pma/
RedirectMatch permanent ^/webmail([\/]?) http://41.203.29.44 /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 motoeuro.co.za
</IfModule>

# httpd awstats support BEGIN.

ProxyRequests Off

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

ProxyPass /stats http://localhost/stats/motoeuro.co.za
ProxyPassReverse /stats http://localhost/stats/motoeuro.co.za

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

# httpd awstats support END.

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

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

Include /etc/apache2/ispcp/motoeuro.co.za.conf

</VirtualHost>
# httpd [motoeuro.co.za] dmn entry END.

# httpd [motoeuro.co.za] dmn group entry END.

# httpd [goldwagen.com] dmn group entry BEGIN.

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


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

# httpd [goldwagen.com] dmn entry BEGIN.
<VirtualHost 41.203.29.44:80>

<IfModule suexec_module>
SuexecUserGroup vu2004 vu2004
</IfModule>

ServerAdmin webmaster@goldwagen.com
DocumentRoot /var/www/virtual/goldwagen.com/htdocs

ServerName goldwagen.com
ServerAlias http://www.goldwagen.com goldwagen.com *.goldwagen.com

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

RedirectMatch permanent ^/ftp([\/]?) http://41.203.29.44 /ftp/
RedirectMatch permanent ^/pma([\/]?) http://41.203.29.44 /pma/
RedirectMatch permanent ^/webmail([\/]?) http://41.203.29.44 /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 goldwagen.com
</IfModule>

# httpd awstats support BEGIN.

ProxyRequests Off

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

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

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

# httpd awstats support END.

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

<Directory /var/www/virtual/goldwagen.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/goldwagen.com/:/var/www/virtual/goldwagen.com/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/goldwagen.com/phptmp/"
php_admin_value session.save_path "/var/www/virtual/goldwagen.com/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2004 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/goldwagen.com/
<Directory "/var/www/fcgi/goldwagen.com">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/goldwagen.com/htdocs>
FCGIWrapper /var/www/fcgi/goldwagen.com/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/goldwagen.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/goldwagen.com.conf

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

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

# httpd [wag-online.co.za] dmn group entry BEGIN.

<IfModule mod_cband.c>
<CBandUser wag-online.co.za>
# CBandUserLimit 0Mi
# CBandUserScoreboard /var/www/scoreboards/wag-online.co.za
# CBandUserPeriod 4W
# CBandUserPeriodSlice 1W
# CBandUserExceededURL http://41.203.29.44 /errors/bw_exceeded.html
</CBandUser>
</IfModule>


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

# httpd [wag-online.co.za] dmn entry BEGIN.
<VirtualHost 41.203.29.44:80>

<IfModule suexec_module>
SuexecUserGroup vu2003 vu2003
</IfModule>

ServerAdmin webmaster@wag-online.co.za
DocumentRoot /var/www/virtual/wag-online.co.za/htdocs

ServerName wag-online.co.za
ServerAlias http://www.wag-online.co.za wag-online.co.za *.wag-online.co.za

Alias /errors /var/www/virtual/wag-online.co.za/errors/

RedirectMatch permanent ^/ftp([\/]?) http://41.203.29.44 /ftp/
RedirectMatch permanent ^/pma([\/]?) http://41.203.29.44 /pma/
RedirectMatch permanent ^/webmail([\/]?) http://41.203.29.44 /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 wag-online.co.za
</IfModule>

# httpd awstats support BEGIN.

ProxyRequests Off

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

ProxyPass /stats http://localhost/stats/wag-online.co.za
ProxyPassReverse /stats http://localhost/stats/wag-online.co.za

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

# httpd awstats support END.

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

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

Include /etc/apache2/ispcp/wag-online.co.za.conf

</VirtualHost>
# httpd [wag-online.co.za] dmn entry END.

# httpd [wag-online.co.za] dmn group entry END.


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

# httpd [41.203.29.44] virtual host entry END.

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

# httpd Data END.

Over and above that all the mail user passwords no longer work. If I reset a password the mail works fine.
(This post was last modified: 10-14-2009 10:42 PM by Shayne.)
10-14-2009 10:40 PM
Find all posts by this user Quote this message in a reply
Knut Offline
Member
***

Posts: 736
Joined: Nov 2006
Reputation: 10
Post: #2
RE: Domains Not showing after Update
Code:
RedirectMatch permanent ^/ftp([\/]?) http://41.203.29.44 /ftp/
RedirectMatch permanent ^/pma([\/]?) http://41.203.29.44 /pma/
RedirectMatch permanent ^/webmail([\/]?) http://41.203.29.44 /webmail/

Remove the blanks between .44 and /

Code:
RedirectMatch permanent ^/ftp([\/]?) http://41.203.29.44/ftp/
RedirectMatch permanent ^/pma([\/]?) http://41.203.29.44/pma/
RedirectMatch permanent ^/webmail([\/]?) http://41.203.29.44/webmail/

Greetz Knut
10-14-2009 11:33 PM
Find all posts by this user Quote this message in a reply
Shayne Offline
Junior Member
*

Posts: 53
Joined: Oct 2008
Reputation: 0
Post: #3
RE: Domains Not showing after Update
Yaaaay.

That sorted that out.... any ideas on why all the mail users passwords are not working?

If I change them in Admin section the the status just hangs on Modification in progress and when I check in the Database all the passwords are there??
Also I noticed now when I try ispCP Debugger it gives me:

FIXME: /var/www/ispcp/gui/admin/ispcp_debugger.php:351
(This post was last modified: 10-15-2009 12:00 AM by Shayne.)
10-14-2009 11:45 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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