public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* Squirrel Mail Problem
@  Janina Sajka
   ` Erik Heil
  0 siblings, 1 reply; 4+ messages in thread
From: Janina Sajka @  UTC (permalink / raw)
  To: speakup

I've setup SquirrelMail, but get the following error starting Apache:

Syntax error on line 5 of /etc/squirrelmail/apache.conf:
Invalid command 'php_flag', perhaps mis-spelled or defined by a module not included in the server configuration
failed

This was written by one of the configuration scripts--I have no idea which.

Anyone know anything about this kind of error? I don't even know where to start debugging it.


-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina@afb.net		Phone: (202) 408-8175


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Squirrel Mail Problem
   Squirrel Mail Problem Janina Sajka
@  ` Erik Heil
     ` Janina Sajka
  0 siblings, 1 reply; 4+ messages in thread
From: Erik Heil @  UTC (permalink / raw)
  To: speakup

What are the contents of you're apache.conf file?  What about the server
include directives?

----- Original Message -----
From: "Janina Sajka" <janina@rednote.net>
To: <speakup@braille.uwo.ca>
Sent: Monday, September 23, 2002 8:57 PM
Subject: Squirrel Mail Problem


> I've setup SquirrelMail, but get the following error starting Apache:
>
> Syntax error on line 5 of /etc/squirrelmail/apache.conf:
> Invalid command 'php_flag', perhaps mis-spelled or defined by a module not
included in the server configuration
> failed
>
> This was written by one of the configuration scripts--I have no idea
which.
>
> Anyone know anything about this kind of error? I don't even know where to
start debugging it.
>
>
> --
>
> Janina Sajka, Director
> Technology Research and Development
> Governmental Relations Group
> American Foundation for the Blind (AFB)
>
> Email: janina@afb.net Phone: (202) 408-8175
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Squirrel Mail Problem
   ` Erik Heil
@    ` Janina Sajka
       ` Steve Holmes
  0 siblings, 1 reply; 4+ messages in thread
From: Janina Sajka @  UTC (permalink / raw)
  To: speakup

Erik Heil writes:
> From: "Erik Heil" <eheil@rcn.com>
> 
> What are the contents of you're apache.conf file?  What about the server
> include directives?
Here's the squirrelmail apache.conf:

Alias /squirrelmail /usr/share/squirrelmail

<Directory /usr/share/squirrelmail>
#  php_value register_globals On # refer to Debian bug #128226
  php_flag register_globals on
  Options Indexes FollowSymLinks
</Directory>

# users will prefer a simple URL like http://webmail.example.com
#<VirtualHost 1.2.3.4>
#  DocumentRoot /usr/share/squirrelmail
#  ServerName webmail.example.com
#</VirtualHost>


The httpd.conf's include statement is just that:

Include /etc/squirrelmail/apache.conf


Again, I didn't write these. The SquirrelMail configuration script wrote them.

> 
> ----- Original Message -----
> From: "Janina Sajka" <janina@rednote.net>
> To: <speakup@braille.uwo.ca>
> Sent: Monday, September 23, 2002 8:57 PM
> Subject: Squirrel Mail Problem
> 
> 
> > I've setup SquirrelMail, but get the following error starting Apache:
> >
> > Syntax error on line 5 of /etc/squirrelmail/apache.conf:
> > Invalid command 'php_flag', perhaps mis-spelled or defined by a module not
> included in the server configuration
> > failed
> >
> > This was written by one of the configuration scripts--I have no idea
> which.
> >
> > Anyone know anything about this kind of error? I don't even know where to
> start debugging it.
> >
> >
> > --
> >
> > Janina Sajka, Director
> > Technology Research and Development
> > Governmental Relations Group
> > American Foundation for the Blind (AFB)
> >
> > Email: janina@afb.net Phone: (202) 408-8175
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina@afb.net		Phone: (202) 408-8175


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Squirrel Mail Problem
     ` Janina Sajka
@      ` Steve Holmes
  0 siblings, 0 replies; 4+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

Given my limitted knowledge of Apache, it sounds like php_flag is not
a valid apache command.  It looks like to me that they are trying to
set 'register_globals' to on for php (which is discouraged by the php
folks these days for security reasons BTW).  The squirrelmail
configuration is trying to change this php option.  One would usually
set this php option in php.ini.

HTH

On Mon, Sep 23, 2002 at 10:22:41PM -0400, Janina Sajka wrote:
> Erik Heil writes:
> > From: "Erik Heil" <eheil@rcn.com>
> > 
> > What are the contents of you're apache.conf file?  What about the server
> > include directives?
> Here's the squirrelmail apache.conf:
> 
> Alias /squirrelmail /usr/share/squirrelmail
> 
> <Directory /usr/share/squirrelmail>
> #  php_value register_globals On # refer to Debian bug #128226
>   php_flag register_globals on
>   Options Indexes FollowSymLinks
> </Directory>
> 
> # users will prefer a simple URL like http://webmail.example.com
> #<VirtualHost 1.2.3.4>
> #  DocumentRoot /usr/share/squirrelmail
> #  ServerName webmail.example.com
> #</VirtualHost>
> 
> 
> The httpd.conf's include statement is just that:
> 
> Include /etc/squirrelmail/apache.conf
> 
> 
> Again, I didn't write these. The SquirrelMail configuration script wrote them.
> 
> > 
> > ----- Original Message -----
> > From: "Janina Sajka" <janina@rednote.net>
> > To: <speakup@braille.uwo.ca>
> > Sent: Monday, September 23, 2002 8:57 PM
> > Subject: Squirrel Mail Problem
> > 
> > 
> > > I've setup SquirrelMail, but get the following error starting Apache:
> > >
> > > Syntax error on line 5 of /etc/squirrelmail/apache.conf:
> > > Invalid command 'php_flag', perhaps mis-spelled or defined by a module not
> > included in the server configuration
> > > failed
> > >
> > > This was written by one of the configuration scripts--I have no idea
> > which.
> > >
> > > Anyone know anything about this kind of error? I don't even know where to
> > start debugging it.
> > >
> > >
> > > --
> > >
> > > Janina Sajka, Director
> > > Technology Research and Development
> > > Governmental Relations Group
> > > American Foundation for the Blind (AFB)
> > >
> > > Email: janina@afb.net Phone: (202) 408-8175
> > >
> > > _______________________________________________
> > > Speakup mailing list
> > > Speakup@braille.uwo.ca
> > > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > >
> > 
> > 
> > 
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> -- 
> 	
> 				Janina Sajka, Director
> 				Technology Research and Development
> 				Governmental Relations Group
> 				American Foundation for the Blind (AFB)
> 
> Email: janina@afb.net		Phone: (202) 408-8175
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
Please avoid sending me Word or PowerPoint attachments.
   See http://www.fsf.org/philosophy/no-word-attachments.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 Squirrel Mail Problem Janina Sajka
 ` Erik Heil
   ` Janina Sajka
     ` Steve Holmes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).