Re: Fedora Apache Rewriting

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

 



"Dan Track" <dan.track@xxxxxxxxx> writes:

> You shouldn't use "domain.com" as that may exist you should use "example.com"
> 
> <VirtualHost myother.example.com>
> RewriteEngine on
> RewriteRule http://www.example.com/?(.*)?$
> https://myserver.example.com/maint.html
> </VirtualHost>

Is this the best method to use to redirect users from
http://www.example.com to https://www.example.com (notice the change from
http to https), or is there some better way?

Regards
Ingemar


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux