Custom Docroot Error with capital

aldhy

Verified User
Joined
Jul 20, 2019
Messages
23
Hello,

there is my client setup custom docroot folder for sub domain, he use /domains/Domain (with capital) and my web server was going down.
Is this bugs in web server?

I use nginx_apache

Regards,
 
service nginx status -l
service httpd status -l ### use " apache2 " when on ubuntu
then post message that you got from thease command.
 
service nginx status -l
service httpd status -l ### use " apache2 " when on ubuntu
then post message that you got from thease command.

the error is in one line on httpd.conf user
the user use custom document root /domains/ABCname
now I have removed the domain and the httpd conf running well
 
the error is in one line on httpd.conf user
the user use custom document root /domains/ABCname
now I have removed the domain and the httpd conf running well
You can't use capitals. All lowercase.
 
Are you sure you can add domains with capitals? Doesn't DA use some strtolower function to fool-proof this? If not,it's a good way for someone to take a whole server down.
 
setup custom docroot folder for sub domain, he use /domains/Domain
I assume he is going in File manager and creating some folder on his own. Like
Screen Shot 2020-11-18 at 14.27.14.png
Are you sure you can add domains with capitals?

Screen Shot 2020-11-18 at 14.19.49.png
then yes it lowers it.
Screen Shot 2020-11-18 at 14.20.33.png

The OP said the user is customizing it. I assumed after the fact or in the template files.
If not,it's a good way for someone to take a whole server down.
Which is what is happening. Sounds like.
 
Are you sure you can add domains with capitals? Doesn't DA use some strtolower function to fool-proof this? If not,it's a good way for someone to take a whole server down.
no sir, the domain still use lowercase, this is on custom public_html root
 

Attachments

  • Screenshot_77.png
    Screenshot_77.png
    23.1 KB · Views: 7
Back
Top