Current time: 12-24-2024, 04:49 AM Hello There, Guest! (LoginRegister)


Post Reply 
Suspended account message
Author Message
AneHCraM Offline
Junior Member
*

Posts: 16
Joined: Dec 2008
Reputation: 0
Post: #1
Suspended account message
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
02-22-2009 12:32 AM
Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #2
RE: Suspended account message
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
02-22-2009 02:45 AM
Find all posts by this user Quote this message in a reply
AneHCraM Offline
Junior Member
*

Posts: 16
Joined: Dec 2008
Reputation: 0
Post: #3
RE: Suspended account message
Yes, that sounds good. But, ¿how can I do this?

Thanks Wink
02-22-2009 06:23 PM
Find all posts by this user Quote this message in a reply
CHBIE Offline
Junior Member
*

Posts: 225
Joined: May 2008
Reputation: 11
Post: #4
RE: Suspended account message
here you can download a small Tool http://www.flirt4all.de/disabled.tar.gz wirten by Zool.

Gruss CHBIE
02-22-2009 08:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
AneHCraM Offline
Junior Member
*

Posts: 16
Joined: Dec 2008
Reputation: 0
Post: #5
RE: Suspended account message
Thanx! Wink
02-27-2009 05:08 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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