[users@httpd] RedirectPermanent question

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

 



I used to host a site on my box, but the user has decided to use Apple
new iWeb and .mac hosting service.  In this service, she has to use
their domain, so their is no DNS switch.  The URL for her new site is
like this:

http://web.mac.com/username/iWeb/Sitename/welcome.html

So, I my box, I set up the redirect like so:

<VirtualHost 64.246.48.96:80>
        ServerName   herdomain.com
        ServerAlias  www.herdomain.com
        RedirectPermanent /
"http://web.mac.com/username/iWeb/Sitename/welcome.html";
</VirtualHost>

This works fine when people type in http://herdomain.com or
http://www.herdomain.com into their browsers, but if they do
http://herdomain.com/blah.html, it tries to redirect to to a
nonexistent page on the new host and therefore a 404 error.

So my question is, how can I redirect ANY request to ANY page (or
other resource) on her domain to the same home page at the new host
(http://web.mac.com/username/iWeb/Sitename/welcome.html)?

Thanks in advance,

Sean

---------------------------------------------------------------------
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