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

H. Peter Anvin hpa at zytor.com
Fri Jun 2 07:31:50 PDT 2006


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

	-hpa




More information about the Syslinux mailing list