[afnog] FreeBSD, Apache24, mod_python, CGI, Genshi

Frank Habicht geier at geier.ne.tz
Wed Sep 14 16:03:25 UTC 2016



On 9/14/2016 5:00 PM, Daniel Shaw wrote:
> Thanks - in that case, the only other thought is to check the
> newline/carriage return characters on that file.
> 
> Make sure it’s truly unix format, and not the DOS CRLF (\r\n)
> format.

that's also looking good:
(sorry for line-breaks)

[geier at stats2 ~]$ file  /usr/local/www/apache24/data/ulg/ulg.py
/usr/local/www/apache24/data/ulg/ulg.py: a /usr/bin/env python script,
ASCII text executable
[geier at stats2 ~]$
[geier at stats2 ~]$ hexdump -C /usr/local/www/apache24/data/ulg/ulg.py
00000000  23 21 2f 75 73 72 2f 62  69 6e 2f 65 6e 76 20 70
|#!/usr/bin/env p|
00000010  79 74 68 6f 6e 0a 23 0a  23 20 55 4c 47 20 2d 20  |ython.#.#
ULG - |


#
#
looks like "0a 23 0a  23"


Frank




More information about the afnog mailing list