Solved Apache24 error AH00112

Hi all,

I didn't find any answers to my problem, so i'm looking for some help.

I'm using FAMP set up in a jail with truenas.
Since i removed somes directories from /usr/local/www/apache24/data/ and also deleted the vhosts pointing to them. when I do service apache24 restart it shows errors like :
Code:
AH00120: Warning : DocumentRoot [/usr/local/www/apache24/data/'my directory'] does not exist
So I agree that it does not exist, but why does it search for them?
I also checked if i had a path in httpd.conf but, nothing at all.

Do you have any ideas to fix this problem?

regards

PS : sorry for my english i'm french.
 
I'm using FAMP set up in a jail with truenas.
TrueNAS is not supported here.
GhostBSD, pfSense, TrueNAS, and all other FreeBSD Derivatives

Don't remove /usr/local/www/apache24/data, various parts of the default Apache config refers to it. And you shouldn't create your website there, create a /usr/local/www/<mysite>/ directory and put everything in that. You don't need to modify httpd.conf either, just put your configurations in /usr/local/etc/apache24/Includes/.

Do you have any ideas to fix this problem?
Simplest solution? rm -rf /usr/local/etc/apache24/ and pkg install -f apache24. That will put everything back at the default.
 
I didn't remove /usr/local/www/apache24/data but just directories I'd created in it for my web site, but as you suggest, I'll use /usr/local/www/<mysite>/.

Your solution worked. Thank you for the help.
 
Back
Top