Config error - PHP with HTTPD

Elias Lovén Larsson thegreatpain at gmail.com
Tue Aug 2 21:33:56 UTC 2011


Hallo Harald!

Problem appears to be solved (see my earlier reply to Robert
Schumann). I had suspected a CR+LF-issue earlier, but notepad++
confirmed there was no trace of Windows defilement in the
configuration file. Never thought to consider the charset, but n++
confirms it's in ANSI.

Good advice on the trailing newline - thank you!
Elias


2011/8/2 Harald Becker <ralda at gmx.de>:
>  Hallo Elias!
>
>> ----------
>> A:127.0.0.1
>> D:*
>> A:192.168.1.0/255.255.255.0
>>
>> *.php:/usr/bin/php-cgi
>> ----------
>
> Did you make sure there is at least one trailing new line in your
> configuration file. It seems to me Busybox httpd rejects inproperly
> terminated config lines.
>
> In addition the arise of UTF-8 created some pitfalls which may result in
> such behaviour. Please provide a "hexdump -Cv" of your config file. May
> be only a hex dump may reveal your problem (none ASCII chars in config
> file, looking like normal chars).
>
> --
> Harald
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>


More information about the busybox mailing list