ispCP - Board - Support
Suspended account message - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Suspended account message (/thread-5788.html)



Suspended account message - AneHCraM - 02-22-2009 12:32 AM

Hi!

I've created a script that suspends expired accounts.

But I have a problem:
To suspend an account, daemon change the folder name. So, when you try to see the web, you displayed an 404 error.
How can I redirect this 404 error to a page that explain that this account is suspended?

Sorry if my english isn't good Tongue

Thanks!! Wink


RE: Suspended account message - FeG - 02-22-2009 02:45 AM

Hi,

what about replacing the folder with a special folder which contains only a htdocs/ folder and a index.html with the content that you want?

Btw: I'd be carefull when replacing the whole folder of the customer. You may get errors from the backup script and others..

Greetings
FeG


RE: Suspended account message - AneHCraM - 02-22-2009 06:23 PM

Yes, that sounds good. But, ¿how can I do this?

Thanks Wink


RE: Suspended account message - CHBIE - 02-22-2009 08:30 PM

here you can download a small Tool http://www.flirt4all.de/disabled.tar.gz wirten by Zool.

Gruss CHBIE


RE: Suspended account message - AneHCraM - 02-27-2009 05:08 AM

Thanx! Wink