You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by j k <jo...@gmail.com> on 2007/10/10 00:35:35 UTC

[users@httpd] weird configtest error message

Well weird to me...

I just upgraded to 2.2.6 on a gentoo linux box but it broke my install of
shibboleth ebfore I even restarted the server so I downgraded to 2.0.59-r2

Should have been a slam dunk up and running using the same config files as I
was using for 2.0.58 but it's giving me grief.

First configtest complained that mod_perl was messed up so I re-installed
that.
Now configtest tells me that the code for preventing .htaccess and .htpasswd
files from being viewed by web clients is somehow no longer OK


/etc/init.d/apache2 configtest
 * Checking Apache Configuration ...
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 536 of /etc/apache2/httpd.conf:
Invalid command 'Order', perhaps mis-spelled or defined by a module not
included in the server configurati  [ !! ]

here's the lines:
 535 <FilesMatch "^\.ht">
 536     Order allow,deny
 537     Deny from all
 538 </FilesMatch>


they look ok to me. What am I missing? Has something changed 2.0.58->59 that
I've missed.

Thanks for your help

Re: [users@httpd] weird configtest error message

Posted by j k <jo...@gmail.com>.
On 10/9/07, Joshua Slive <jo...@slive.ca> wrote:
>
> On 10/9/07, j k <jo...@gmail.com> wrote:
>
> >
> > /etc/init.d/apache2 configtest
> >  * Checking Apache Configuration ...
> >  * Apache2 has detected a syntax error in your configuration files:
> > Syntax error on line 536 of /etc/apache2/httpd.conf:
> > Invalid command 'Order', perhaps mis-spelled or defined by a module not
> > included in the server configurati  [ !! ]
> >
> > here's the lines:
> >  535 <FilesMatch "^\.ht">
> >  536     Order allow,deny
> >  537     Deny from all
> >  538 </FilesMatch>
> >
> >
> > they look ok to me. What am I missing? Has something changed 2.0.58->59
> that
> > I've missed.
>
> In particular, you're missing the module mod_access (and probably
> others too). Check how you are loading your modules.
>
> Joshua.


Thanks Joshua, you are quite correct. Not sure how they became commented
out.
All goes again. Thanks.

---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] weird configtest error message

Posted by Joshua Slive <jo...@slive.ca>.
On 10/9/07, j k <jo...@gmail.com> wrote:

>
> /etc/init.d/apache2 configtest
>  * Checking Apache Configuration ...
>  * Apache2 has detected a syntax error in your configuration files:
> Syntax error on line 536 of /etc/apache2/httpd.conf:
> Invalid command 'Order', perhaps mis-spelled or defined by a module not
> included in the server configurati  [ !! ]
>
> here's the lines:
>  535 <FilesMatch "^\.ht">
>  536     Order allow,deny
>  537     Deny from all
>  538 </FilesMatch>
>
>
> they look ok to me. What am I missing? Has something changed 2.0.58->59 that
> I've missed.

In particular, you're missing the module mod_access (and probably
others too). Check how you are loading your modules.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org