1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Fiddle further with .htaccess: add some $s on the ends of the

regexps to stop them matching the wrong files.

[originally from svn r7229]
This commit is contained in:
Simon Tatham 2007-02-05 15:01:28 +00:00
parent 54dd6440ba
commit 0865939a56

View File

@ -99,6 +99,6 @@ deliver putty/windows/*.map maps-x86/$@
in-dest . do echo "AddType application/octet-stream .chm" >> .htaccess
in-dest . do echo "AddType application/octet-stream .hlp" >> .htaccess
in-dest . do echo "AddType application/octet-stream .cnt" >> .htaccess
in-dest . do set -- putty*.tar.gz; for k in '' .DSA .RSA; do echo RedirectMatch temp '(.*/)'putty.tar.gz$$k '$$1'"$$1$$k" >> .htaccess; done
in-dest . do set -- putty*.tar.gz; for k in '' .DSA .RSA; do echo RedirectMatch temp '(.*/)'putty.tar.gz$$k\$$ '$$1'"$$1$$k" >> .htaccess; done
# And one in the x86 directory, providing a link for the installer.
in-dest x86 do set -- putty*installer.exe; for k in '' .DSA .RSA; do echo RedirectMatch temp '(.*/)'putty-installer.exe$$k '$$1'"$$1$$k" >> .htaccess; done
in-dest x86 do set -- putty*installer.exe; for k in '' .DSA .RSA; do echo RedirectMatch temp '(.*/)'putty-installer.exe$$k\$$ '$$1'"$$1$$k" >> .htaccess; done