Answer the question
In order to leave comments, you need to log in
Why does apache refer to a different directory?
In the Apache logs, the site refers to a shared folder. I don't know which direction to google for this issue.
ErrorFile does not exist: /var/www/html/test/1.txt
Trying to navigate example.ru/test/1.txt
Created a folder in the site folder /var/www/html/example.ru/test/1.txt
In httpd.conf
DocumentRoot /var/www/html/example.ru/
<Directory /var/www/html/example.ru/>
example.ru
?
Answer the question
In order to leave comments, you need to log in
you made the settings in the first default file, this is a trap for "all" domains, in fact everything except private
ones is /dev/null
You need to make a config for a special case. (a colleague gave you an example above)
and use the first config for those who made a mistake and write there hello the server sees you but there is no such domain.
And even better put admin panels so that there are a million of them
working
1. vestacp (set by script)
2.ispconfig3 (I use it, but you need to be able to set it)
3.bitrix vm - console control face (but convenient), set by script
4. brainycp - excellent functionality is not a convenient admin panel.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question