301 redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello !
Can I set the redirect 301 not in .htaccess but in apache conf ?
I have tried to set this
 
RewriteEngine on
RewriteRule ^webmail/(.*)$ http://somedomain.com/webmail/$1 [R=301,L]
and it doesnt work
if I put this in .htaccess it does
 
I want to set redirect  directory for all my vhosts http://domain/webmail  > 301 redirect > someanotherdomain/webmail
 
 
Regards,
Piotr
 

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux