change the DocumentRoot in lamp (php, mysql and apache)?

1

Try changing to ubuntu in my LAMP the DocumentRoot in httpd.config , with this data: "/home/pepe/Escritorio/htdocs" , restart the web server and nothing.

Do you know someone I'm missing? Thanks Greetings

    
asked by joselo 29.08.2018 в 16:11
source

1 answer

0

In the httpd.conf file, in addition to the documentroot parameter, you must change it in one more sites. For example:

> > <Directory "/LAMP/xampp/cgi-bin">
>     AllowOverride All
>     Options None
>     Require all granted </Directory>

Edit the file and look for the original documentroot, and replace it as many times as you see it.

It also searches for any includes subdirectory, inside the subdirectory where httpd.conf is, there are loose configuration files that can get dizzy.

    
answered by 04.09.2018 в 08:04