Page 1 of 1

[Solved] change document root

Posted: Mon Jun 08, 2020 9:03 am
by forstera
sorry, another question ...

so everything working fine now :)
So, I wanted to change my document root because I need to access my phpmyaq using an adresse like http:/myserver/phpmyfaq and I'd like to be able to reach my server just by http://myserver.
so,in httpd.conf, I changed the value of

DocumentRoot "/var/www/html"
by
DocumentRoot "/var/www/html/phpmyfaq"

but when I'm trying to log on my server, I get the following error :
The requested URL /phpmyfaq/ was not found on this server.


It seems there's something with relative paths and I should modify it but didnt found where for the while ...
Thanks for your help

Re: change document root

Posted: Mon Jun 08, 2020 10:14 am
by Thorsten
Hi,

the document root is stored in the admin configuration and in the .htaccess file.

bye
Thorsten