On Mon, Feb 13, 2017 at 2:00 PM, Rodrigo Cunha <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
