Re: [users@httpd] Apache rewrite for redirect local directoryes
Tks Adan, i want test redirections in the config file or with modules. sory, my question not specified. 2017-02-13 17:30 GMT-02:00 Rodrigo Cunha: > I have a question. > This redirect is possible with rewrite module?! > > 2017-02-13 17:29 GMT-02:00 Rodrigo Cunha : > >> tks 4 all... >> >> 2017-02-13 17:28 GMT-02:00 Adam R. Vest >> : >> >>> Change the virtualhosts document root? >>> >>>- https://httpd.apache.org/docs/2.4/mod/core.html#documentroot >>> >>> >>> On 02/13/2017 02:00 PM, Rodrigo Cunha 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. >>> >>> -- >>> Atenciosamente, >>> Rodrigo da Silva Cunha >>> São Gonçalo, RJ - Brasil >>> >>> >>> >> >> >> -- >> Atenciosamente, >> Rodrigo da Silva Cunha >> São Gonçalo, RJ - Brasil >> >> > > > -- > Atenciosamente, > Rodrigo da Silva Cunha > São Gonçalo, RJ - Brasil > > -- Atenciosamente, Rodrigo da Silva Cunha São Gonçalo, RJ - Brasil
Re: [users@httpd] Apache rewrite for redirect local directoryes
I have a question. This redirect is possible with rewrite module?! 2017-02-13 17:29 GMT-02:00 Rodrigo Cunha: > tks 4 all... > > 2017-02-13 17:28 GMT-02:00 Adam R. Vest : > >> Change the virtualhosts document root? >> >>- https://httpd.apache.org/docs/2.4/mod/core.html#documentroot >> >> >> On 02/13/2017 02:00 PM, Rodrigo Cunha 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. >> >> -- >> Atenciosamente, >> Rodrigo da Silva Cunha >> São Gonçalo, RJ - Brasil >> >> >> > > > -- > Atenciosamente, > Rodrigo da Silva Cunha > São Gonçalo, RJ - Brasil > > -- Atenciosamente, Rodrigo da Silva Cunha São Gonçalo, RJ - Brasil
Re: [users@httpd] Apache rewrite for redirect local directoryes
tks 4 all... 2017-02-13 17:28 GMT-02:00 Adam R. Vest: > Change the virtualhosts document root? > >- https://httpd.apache.org/docs/2.4/mod/core.html#documentroot > > > On 02/13/2017 02:00 PM, Rodrigo Cunha 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. > > -- > Atenciosamente, > Rodrigo da Silva Cunha > São Gonçalo, RJ - Brasil > > > -- Atenciosamente, Rodrigo da Silva Cunha São Gonçalo, RJ - Brasil
Re: [users@httpd] Apache rewrite for redirect local directoryes
Change the virtualhosts document root? * https://httpd.apache.org/docs/2.4/mod/core.html#documentroot On 02/13/2017 02:00 PM, Rodrigo Cunha 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. > > -- > Atenciosamente, > Rodrigo da Silva Cunha > São Gonçalo, RJ - Brasil >
Re: [users@httpd] Apache rewrite for redirect local directoryes
On Mon, Feb 13, 2017 at 2:00 PM, Rodrigo Cunhawrote: > 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 Require all granted - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org