Re: mirror a html site

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

 



> the resulting files are not browsable without creating a structure of folders for each domain downloaded (the original www.mydomain.com and the folders for the cdn) which ends up having an ugly URL
www.mydomain.com/www.mydomain.com/index.hml.
> 
> Can anyone know how to solve this without manual interaction?

Returning to topic, you can keep structure on disk as it is, and shorten user-visible URLs with redirects: one external redirect from /www.mydomain.com/ to / , and one internal back from / to /www.mydomain.com/ with appropriate exceptions for all other domains.
-- 

With Best Regards,
Marat Khalili

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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