Re: [gentoo-user] Apache IfDefine error

2005-06-09 Thread Greg Donald
On 6/8/05, Pshem Kowalczyk [EMAIL PROTECTED] wrote:
 Shoudn't that be
 /IfDefine
 
 (instead of IfDefine INFO)?

In context it looks fine:

 sed -n '275,285p' /etc/apache2/httpd.conf  
#
# Handlers
#
# These modules create content for a client.
#
IfDefine INFO
LoadModule info_module   modules/mod_info.so
/IfDefine INFO
LoadModule actions_modulemodules/mod_actions.so
LoadModule autoindex_module  modules/mod_autoindex.so
LoadModule dir_modulemodules/mod_dir.so



-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache IfDefine error

2005-06-09 Thread Greg Donald
On 6/8/05, Pshem Kowalczyk [EMAIL PROTECTED] wrote:
 Shoudn't that be
 /IfDefine

Yeah, you're right.  Didn't understand what you meant at first.

Fixed.


-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache IfDefine error

2005-06-09 Thread Daniel da Veiga
The syntax error is not exactly at the line you're reading, with the
basic information you gave us, I can guess the error is a few lines
down, when it CLOSES the IfDefine tag, so, try:

cat /etc/apache2/httpd.conf | grep -n /IfDefin

And you'll get the line number and the content of that line (if it exists).

Good luck,

On 6/8/05, Greg Donald [EMAIL PROTECTED] wrote:
  /etc/init.d/apache2 restart
  * Apache2 has detected a syntax error in your configuration files:
 Syntax error on line 280 of /etc/apache2/httpd.conf:
 Expected /IfDefine but saw /IfDefin
 
 But it looks fine to me:
 
  sed -n '280p' /etc/apache2/httpd.conf
 IfDefine INFO
 
 Any ideas?
 
 
 --
 Greg Donald
 Zend Certified Engineer
 http://destiney.com/
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Daniel da Veiga
Computer Operator - RS - Brazil

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Apache IfDefine error

2005-06-08 Thread Greg Donald
 /etc/init.d/apache2 restart
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 280 of /etc/apache2/httpd.conf:
Expected /IfDefine but saw /IfDefin

But it looks fine to me:

 sed -n '280p' /etc/apache2/httpd.conf
IfDefine INFO

Any ideas?


-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache IfDefine error

2005-06-08 Thread Pshem Kowalczyk
On 09/06/05, Greg Donald [EMAIL PROTECTED] wrote:
  /etc/init.d/apache2 restart
  * Apache2 has detected a syntax error in your configuration files:
 Syntax error on line 280 of /etc/apache2/httpd.conf:
 Expected /IfDefine but saw /IfDefin
 
 But it looks fine to me:
 
  sed -n '280p' /etc/apache2/httpd.conf
 IfDefine INFO
 
 Any ideas?

Shoudn't that be 
/IfDefine

(instead of IfDefine INFO)?

regards
pshem

-- 
gentoo-user@gentoo.org mailing list