[syslinux] tftpd-hpa: remap '/tftpboot/ncd4/foo' into 'ncd4/foo'

Geert Stappers stappers at stappers.nl
Wed Jun 14 02:52:34 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Jun 02, 2006 at 07:31:50AM -0700, H. Peter Anvin wrote:
> Geert Stappers wrote:
> >Hello,
> >
> >This about remapping in the HPA tftp server.
> >
> >A client does request for '/tftpboot/ncd4/foo' which should be 'ncd4/foo'
> >
> >
> >I have created a remap file that looks now like this:
> >
> >r tftpboot/ncd4/modshmx/login.hmx ncd4/modshmx/login.hmx
> >r tftpboot/ncd4/modshmx/setup.hmx ncd4/modshmx/setup.hmx
> >r tftpboot/ncd4/modshmx/term.hmx ncd4/modshmx/term.hmx
> >
> >Because 
> >
> >r tftpboot/ncd4/\(.*\) ncd4/\1
> >
> >did not work for me. The manual says:
> >
> 
> Try:
> 
> r tftpboot/ncd4/\(.*\)$	ncd4\/1

I tried
 r tftpboot/ncd4/\(.*\)$	ncd4/\1
but that failed. Because the 
 r tftpboot/ncd4	ncd4
worked, I did not try
 r tftpboot/ncd4/\(.*\)$	ncd4\/1
nor
 r tftpboot/ncd4/\(.*\)$	ncd4/\/1

Cheers
Geert Stappers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFEj9xiOSINbgwa/7sRAmYgAJwIg8voyxjDM1khod2SZ/hh7igtJwCeORJz
4YlGADe5E54YULTdmkl92aI=
=CUaj
-----END PGP SIGNATURE-----




More information about the Syslinux mailing list