US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting
Register FAQ Community Calendar Today's Posts Search


Reply
 
Thread Tools
Old 11-12-2013, 11:12 PM   #1
Junior Member
 
Join Date: Sep 2012
Posts: 4
syntaxsniffer is on a distinguished road
Default Disabled Domains

Hi everyone!
When I disabled a domain in ISPmanager-Pro 4.4.10.20, I expect their current webpage to be replaced with a disabled message that is in "/usr/local/ispmgr/www/disabled/index.html" - I did not create this file but I want it displayed when I disable a domain or it is automatically disabled.

Right now when I disable a domain, ISPManager updates the httpd.conf to include:

Code:
<Directory /var/www/##user##/data/www/##domain name##>
        Options +ExecCGI -Includes
        AllowOverride none
        Deny from all
        ErrorDocument 403 /disabled/index.html
</Directory>
So it looks like it is trying to do this but it's not working... when you visit the domain after it is disabled you get the nice default server page (in my case, Apache 2 Test Page powered by CentOS).

Any thoughts? Is this a genuine bug? I have searched google and these forums but I see no one talking about it.
syntaxsniffer is offline   Reply With Quote
Old 11-13-2013, 04:26 AM   #2
Support team
 
Join Date: Oct 2013
Posts: 44
usaafko is on a distinguished road
Default

Hello, have you restarted Apache manually after disabling a domain in ISPmanager?
usaafko is offline   Reply With Quote
Old 11-13-2013, 04:32 PM   #3
Junior Member
 
Join Date: Sep 2012
Posts: 4
syntaxsniffer is on a distinguished road
Default

Yes and the server has been restarted multiple times since the domains were marked as disabled (about a year now).
syntaxsniffer is offline   Reply With Quote
Old 11-16-2013, 02:33 PM   #4
ISPsystem team
 
Join Date: Jun 2013
Posts: 233
fly is on a distinguished road
Default

Probably directive Directory is redefine in configure file. Check carefully configure file.
fly is offline   Reply With Quote
Old 11-18-2013, 09:17 PM   #5
Junior Member
 
Join Date: Sep 2012
Posts: 4
syntaxsniffer is on a distinguished road
Default

Wow, this was a bit crazy...

In order for this disabled page to work, you have to either delete the welcome.conf or comment out all the lines.

This file is located at \etc\httpd\conf.d\welcome.conf

Hopefully someone else that needs this will be able to find it now. Apparently ISPMGR needs to either delete this file upon installation or have a footnote in the installer to disable this file so the disabled pages will work at least on CENTOS... I have no idea about other flavors of Linux and how they handle this file.

Once you edit or delete that welcome.conf file, you can then edit the ispmgr disabled page located in: /usr/local/ispmgr/www/disabled/index.html

Hope this helps someone else. Sad that it does this on a fresh install by default.
syntaxsniffer is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:24 AM.