Moved websites redirects to cgi-sys/movingpage.cgi Print

  • 0

Introduction

There are times where the express transfer is used and the destination server has redirect entries in .htaccess files from an incomplete transfer process. This leaves .htaccess files with:

RedirectMatch \.(dynamiccontent|pl|plx|perl|cgi|php|php4|php4|php6|php3|shtml)$ http://sever.something.com/cgi-sys/movingpage.cgi

 

Those entries will need to be removed.

 

Procedure

There is a script that can remove this line automatically:

 

/usr/local/cpanel/scripts/xfertool --unblockdynamiccontent cpanelusername

 

The following can be used if you need to complete this on all accounts on the server:

 

cut -d ' ' -f2 /etc/trueuserdomains | while read user; do /usr/local/cpanel/scripts/xfertool --unblockdynamiccontent $user ; done

 

After this has completed there shouldn't be any sites loading with movingpage.cgi.


Was this answer helpful?
Back

Send Message