Suspended User's subdomains

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,643
Location
A Coruña, Spain
Hi everyone,

maybe i found something that seems to be a bug.

I had suspended a user and after that on http restart from ssh i had this:

Code:
Avvio di httpd: Warning: DocumentRoot [/home/admin/domains/suspended/admin] does not exist
Warning: DocumentRoot [/home/admin/domains/suspended/admin] does not exist
Warning: DocumentRoot [/home/admin/domains/suspended/scambio] does not exist
Warning: DocumentRoot [/home/admin/domains/suspended/scambio] does not exist
Warning: DocumentRoot [/home/admin/domains/suspended/statistiche] does not exist
Warning: DocumentRoot [/home/admin/domains/suspended/statistiche] does not exist

Ive checked and user admin dont have those subdomain.. ive investigated on all httpd.conf for each user and found that those subdomains (scambio,admin and statistiche) are all from one user that is suspended.

Ive logged as that user and removed those subdomain, and error disapeeared.. but, adding those subdomain back again the error show up again.

So i think is a bug that fill the httpd.conf in a wrong way just for suspended users subdomains.

Regards
 
Hello,

I would not say, that's a bug. Directadmin when makes user suspended, does not delete user's subdomains and domains, but change DocumentRoot to /home/<reseller_creator>/domains/suspended. Of course if user has any subdomain, apache would warn about that DocumentRoot does not exist.

That's it. It's a warning.
 
oh damn you're right, didnt notice that, well but should change the \* path to the \suspended so each subdomain will show the same page.

That should be a nice "workaround" for the warning :)

Hope is clear how ive tryed to explain

Regards
 
Back
Top