On Sun, Jul 1, 2012 at 11:41 PM, 張振泰 Zen-Tai (Hinet) <zentai.chang@xxxxxxxxxxxxx> wrote: > Dear All, > > I wish to handle the response header by myself. > So I load asis module and modify some setting below: > > <Directory "/APPS/www/Account"> > AllowOverride All > SetHandler send-as-is <===add this line > Options All > Order allow,deny > </Directory> > > restart apache2 > Use IE: http://10.32.79.247/Account/User > Then nothing responsed !!! > > check apache error.log ↓ > [Mon Jul 02 10:06:32 2012] [error] [client 10.32.78.23] malformed header > from script. Bad header=\x7fELF\x01\x01\x01: User <==== what ???????? > > what happen to this error ?? > Thanks !! mod_asis doesn't run CGI scripts, it sends file as-is. This one is an executable, not one containing headers and a body. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx