Nicholas Chua writes:

Sorry i dont really understand by wrapper. Anyway, i had created a wrapper
file and had copy and paste the below:-

#!/bin/sh

echo "Content-Type: text/plain"
echo ""
/var/www/cgi-bin/sqwebmail 2>&1

chmod 755 wrapper , use my IE to browse to that file and i got :-

Status: 303 Moved
Cache-Control: no-store
Pragma: no-cache
URI: https://www.domain.net/cgi-bin/wrapper?index=1
Location: https://www.domain.net/cgi-bin/wrapper?index=1

Is this correct?

Yes, well you'll have to keep on going. Add:

QUERY_STRING='index=1'
export QUERY_STRING

to the beginning of the shell script, and try again.



Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to