On Mon, Feb 13, 2017 at 2:00 PM, Rodrigo Cunha <rodrigo.root...@gmail.com> wrote: > Dears, > i need redirect the all requestions for my website to anoter directory. > My directory is: /opt/www/curso.intranet/public_html > The new directory is: /opt/www/curso.intranet/st1 > what is better solution for this problem? > > I want setting this in conf or in the .htaccess. >
Something like this should suffice in your vhost config: DocumentRoot /opt/www/curso.intranet/st1 <Directory /opt/www/curso.intranet/st1> Require all granted </Directory> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org