In my configuration at least, it does not matter who owns the htmllibdir,
so long as the user that apache runs as has read access to the template
files.
The cgibindir should be owned by the user that apache runs as, "www" in my
case (and it looks like in your case as well).
Lou Hevly writes:
> At 16:20 02/10/00 GMT, donald purnhagen wrote:
> >
> >I do not use vpopmail, so I may be off base on this, but...
> >
> >I think that you probably want to disable authdaemon, since it does not
> >appear that you have a high volume site. Did you start authdaemon before
> >trying to log in?
> >
> >Try these options to ./configure, along with any that you already use:
> >
> > --with-authpam \
> > --without-authdaemon \
> > --without-authuserdb \
> > --without-authldap \
> > --without-authmysql \
> > --without-authpwd \
> > --without-authshadow \
> > --enable-webpass=vpopmail \
>
> Thanks, but no joy. In fact, now I get the 500 message when I invoke the program
>from the first initialization. I reconfigured the old way, but still can't even get
>the initial page any more.
>
> My suexec error log says:
> [2000-10-02 19:18:46]: info: (target/actual) uid: (ducaniveaux/ducaniveaux) gid:
>(ducaniveaux/ducaniveaux) cmd: sqwebmail
> [2000-10-02 19:18:46]: error: file is either setuid or setgid:
>(/home/www/ducaniveaux/cgi-bin/sqwebmail)
>
> To 'purge' sqwebmail, so as to start anew, is it enough to delete everything in the
>htmllibdir and cgibindir?
>
> Also, what should the htmllibdir be chowned to?
>
> Finally, cgibindir must be owned by the user, or suexec won't run the script. Could
>this be part of the problem?
>
>
> >Lou Hevly writes:
> >
> >> Greetings:
> >> I have installed qmail 1.03 and vpopmail 4.9.3 on Linux Redhat 6.2. They work
>fine. I then installed sqwebmail 1.0 into a directory as you'll see below. (Perhaps I
>should mention that I'm running this offline.) Using Lynx, I go to
>http://www.ducaniveaux.com/cgi-bin/sqwebmail and get the initial page. I choose the
>no frames version and I get the login screen. However, when I enter my userid
>([EMAIL PROTECTED]) and password, I get an Internal Server Error. Apache only says:
> >>
> >> [Mon Oct 2 14:57:32 2000] [error] [client 127.0.0.2] Premature end of script
>headers: /www/ducaniveaux/cgi-bin/sqwebmail
> >>
> >> Any ideas?
> >>
> >> This is my sqwebmail configure file:
> >> ./configure \
> >> --enable-webpass=vpopmail \
> >> --enable-softtimeout=300 \
> >> --enable-autopurge=10 \
> >> --with-htmllibdir=/home/ducaniveaux/etc \
> >> --enable-cgibindir=/www/ducaniveaux/cgi-bin \
> >> --enable-imagedir=/www/ducaniveaux/media \
> >> --enable-imageurl=http://www.ducaniveaux.com/media/ \
> >> --enable-bannerprog=/www/ducaniveaux/cgi-bin/banners.cgi \
> >>
> >> And here, just in case, is my Apache config file. I'm running the suexec wrapper,
>modssl and modperl:
> >>
> >> #/bin/sh
> >> cd ../apache*
> >> SSL_BASE=../openssl-0.9.5a \
> >> ./configure \
> >> --activate-module=src/modules/perl/libperl.a \
> >> --enable-shared=perl \
> >> --enable-module=ssl --enable-shared=ssl \
> >> --enable-module=rewrite --enable-shared=rewrite \
> >> --enable-module=proxy --enable-shared=proxy \
> >> --enable-shared=max \
> >> --enable-suexec \
> >> --suexec-caller=www \
> >> --suexec-docroot=/www \
> >> --suexec-userdir=/www \
> >> --suexec-uidmin=100 \
> >> --suexec-gidmin=100 \
> >> --suexec-logfile=/usr/local/apache/logs/suexec_log \
> >> --suexec-safepath=/usr/local/bin:/usr/bin:/bin
> >>
> >> Many thanks.
> >>
> >> --
> >> All the best (Ad�u-siau),
> >> Lou Hevly
> >> [EMAIL PROTECTED]
> >> http://www.visca.com
> >
> >
> >--
> >donald purnhagen
> >[EMAIL PROTECTED]
> >
> >real-time solutions
> >1427 arbor avenue
> >suite 10
> >dayton, ohio 45420
> >
> --
> All the best (Ad�u-siau),
> Lou Hevly
> [EMAIL PROTECTED]
> http://www.visca.com
--
donald purnhagen
[EMAIL PROTECTED]
real-time solutions
1427 arbor avenue
suite 10
dayton, ohio 45420