On Mon, Feb 13, 2017 at 2:00 PM, Rodrigo Cunha <rodrigo.root.rj@xxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx