dan.kelley writes:
>> for some reason all our installations are 755 not 744 like yours... try a
>> chmod 755 on the directory and see if that rectifies it.
>
> chmod 755 doesn't solve the problem.
>
>> check your error logs and see where it is trying to retrieve from?
>
> it is trying to open index.html in the correct directory.
>
> i modified sqwebmail/sqwebmail.c to gte a closer look at what was going on:
>
> line 402, sqwebmail.c:
>
> printf("Content-type: text/html\n\n");
> printf("formpath: %s<BR>", formpath);
>
> f=fopen(formpath, "r");
> printf("f(descriptor): %d<BR>", (int) f);
>
> this results in the following output when sqwebmail is run:
>
> formpath: /usr/local/share/sqwebmail/html/en-us/index.html
> f(descriptor): 0
> Content-type: text/html formpath:
> /usr/local/share/sqwebmail/html/en/index.html
> f(descriptor): 0
>
> Can't open form template.
>
> any ideas?
Looks like you have a missing soft link:
[root@ny pcp]# cd /usr/local/share/sqwebmail
[root@ny sqwebmail]# ls -l html
total 4
lrwxrwxrwx 1 root root 5 Jun 26 21:40 en -> en-us
drwxr-xr-x 2 root bin 4096 Aug 21 21:12 en-us
--
Sam