[Asterisk-Users] vmail.cgi with Redhat 9.0
jerk face
jerkface2098 at yahoo.com
Thu Dec 4 12:05:49 MST 2003
--- Lists <lists at uc9.net> wrote:
> On Thu, 4 Dec 2003, Olle E. Johansson wrote:
>
> > jerk face wrote:
> >
> > > I recently switched from Mandrake to Redhat and
> I
> > > noticed that vmail.cgi does not work with the
> default
> > > apache installation that comes with Redhat.
> > > Here is what I get in my error logs:
> > >
> > > [Thu Dec 04 11:59:57 2003] [notice] suEXEC
> mechanism
> > > enabled (wrapper: /usr/sbin/suexec)
> > > [Thu Dec 04 11:59:58 2003] [notice] Digest:
> generating
> > > secret for digest authentication ...
> > > [Thu Dec 04 11:59:58 2003] [notice] Digest: done
> > > [Thu Dec 04 11:59:59 2003] [notice]
> Apache/2.0.40 (Red
> > > Hat Linux) configured -- resuming normal
> operations
> > > [Thu Dec 04 12:00:08 2003] [error] [client
> > > 192.168.10.12] Directory index forbidden by
> rule:
> > > /var/www/html/
> > > [Thu Dec 04 12:00:15 2003] [error] [client
> > > 192.168.10.12] Premature end of script headers:
> > > vmail.cgi
> > > [Thu Dec 04 12:00:15 2003] [error] [client
> > > 192.168.10.12] Can't do setuid
> > >
> > >
> > > Does anybody know how I could fix this problem?
> > "Premature end of script headers" means that there
> was an error in the script.
> > Check the error log of the Apache server for more
> information.
> > You can also try to run the script from the UNIX
> prompt and see if you get any
> > error messages.
> >
> > Regards,
> > /Olle
>
>
> go into /var/www/cgi-bin
> do a
> chmod 700 vmail.cgi
> chown apache.users vmail.cgi
>
> Michael
>
>>> chmod 700 vmail.cgi
>>> chown apache.users vmail.cgi
That will let me run the script, but now it won't
display the messages. My guess is because apache
doesn't have permissions to view the INBOX folder.
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
More information about the asterisk-users
mailing list