Re: [users@httpd] Yet another Redirect/ RedirectMatch question

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

 



On 1/25/06, Mukarram Syed <muksyed@xxxxxxxxx> wrote:
>  All,
> I have been researching on this for the past 2 hours and haven't found a
> solution.
> Here is my issue.
> I want to redirect http://maxim-toastmaster.com to http://www.esalton.com
> This is what I have tried so far:
>
> 1.
> <VirtualHost *:80>
>   ServerName maxim-toastmaster.com
>   RedirectMatch permanent ^/$ http://www.esalton.com/
> </VirtualHost>
>
> 2.
> <VirtualHost *:80>
>   ServerName maxim-toastmaster.com
>   Redirect permanent / http://www.esalton.com/
> </VirtualHost>
>
> 3.
> Redirect /maxim-toastmaster.com http://www.esalton.com/
>
> None of these options worked.

Not a good problem description.  What exactly happened when you tried
them?  Either of the first two examples should work, although they
affect a different set of URLs.  The last one is wrong.

One thing to look at: Make sure you have a NameVirtualHost *:80 directive.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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