git.net

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

Re: [users@httpd] mirror a html site


Hello *,

I am mirroring too, but I made it much mor easier...

Am 2017-12-24 hackte Marat Khalili in die Tasten:
>> 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?

Yeah, instead of using ugly directories, why not use a subdomain for
mirroring?  The most links will work. It would look like

    http://www.mirrored-domain.tld.mirror.mydomain.com/

I do this with arround 7.000 domains on a singel Apache instance since
the traffic is VERY low...

Have a nice day
Michelle

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-users/msg02537.html on line 96
Call Stack
#TimeMemoryFunctionLocation
10.0006358328{main}( ).../msg02537.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-users/msg02537.html on line 96
Call Stack
#TimeMemoryFunctionLocation
10.0006358328{main}( ).../msg02537.html:0