Web Hosting Talk







View Full Version : Cpanel Suspended page how to accomplish this


mpkapadia
03-17-2004, 04:27 PM
Hi

On a cpanel based server if root suspends an account the page
/usr/local/apache/htdocs/suspended.page/index.html opens

This Part is working fine

If an account under a reseller is suspended then
www.resellerdomain.com/suspended.page/idex.html would open


Is it possible to modify cpanel settings such that /usr/local/apache/htdocs/suspended.page/index.html opens
even if the domain is under a reseller.

That is same page for any kind of suspention.

Any ideas, I hope i am clear.

3spades
03-17-2004, 05:43 PM
You can add an alias so /suspended.page runs from /usr/local/apache/htdocs/suspended.page

mpkapadia
03-18-2004, 12:25 AM
In that case will i have to add within each virtualhost ?
Is there anything i can add such that the same rule is followed for all websites without need to modify httpd.conf each time

sprintserve
03-18-2004, 08:59 AM
No. An alias is global.

Do something like this in httpd.conf

alias /suspended.page/ /usr/apache/htdocs/suspended.page/