Pages

Bài đăng phổ biến

Tuesday, September 18, 2012

Directadmin : Restore httpd.conf custom

echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue

That's all.

Nguyen Si Nhan

Sunday, August 12, 2012

Fixed : Premature end of script headers: graphite.wsgi

If you see this error ,you should disable mod_python after that restart httpd.
This problem usually happen when you use mod_python and mod_wsgi same time.

Nguyen Si Nhan

Monday, August 6, 2012

IndentationError: unexpected indent

message =  '\n'.join(lines) + '\n'
error:
IndentationError: unexpected indent
fix:
message ='\n'.join(lines) + '\n'
delete blank beforce '\n'.

Nguyen Si Nhan