On Wed, Mar 08, 2006 at 12:24:14AM +0100, mess-mate wrote:
Sorry, can't find what happen exactly.
webadmin runs in this cgi-bin, so whynot sqwebmail ?
The error persist as 'can't find
/http://127.0.0.1/cgi-bin/sqwebmail' (error 404)
That's an Apache error. Therefore it's nothing to do with sqwebmail, as
sqwebmail hasn't even started running yet.
If I were you, I would create /var/www/cgi-bin/test.sh containing
#!/bin/sh
echo "Content-Type: text/plain"
echo ""
echo "Hello, world!"
Then chmod +x it, and try http://127.0.0.1/cgi-bin/test.sh
If that also gives you a 404, then you know that Apache definitely isn't
looking in that directory. If webadmin works, then I imagine you have a
second copy of webadmin installed in the place where Apache is actually
looking.
So it's up to you to either
(1) find that location, and copy test.sh and sqwebmail there; or
(2) modify your Apache configuration so that it looks in /var/www/cgi-bin
instead
Many simple Apache configs have a ScriptAlias line. Try looking for that.
Regards,
Brian.