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

Reply via email to