opdaterings script på iis server
Jeg har noget ekstra plads på en server jeg vil dedikere til at mirror et open source værktøj. Problemet er at hvis jeg kører nedenstående linie med rsync på en iiserver er der en virtuel mappe som ikke bliver oprettet rigtigt:rsync -auH rsync://rsync.chiark.greenend.org.uk/ftp/users/sgtatham/website-mirror/ .
Tilsyneladende fordi ".htaccess" kun er beregnet på apache servere! Hvordan opsættes nedenstående på en windows server?
If you use the above command to fetch our pre-packaged mirror site, it will only work as designed if your web server is Apache: the site contains a .htaccess file which handles a couple of non-obvious MIME types and deals with making the virtual subdirectory "latest" redirect to the current latest release. You may need to configure Apache to honour the .htaccess file with a directive such as AllowOverride. If you do not use Apache, you will have to reproduce this behaviour in some other way suitable for your own web server.
