You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chris Arnold <ca...@electrichendrix.com> on 2015/01/15 23:20:59 UTC

[users@httpd] 2.4 Configuration Errors

apache 2.4.10 on SLES 12. We are moving from apache 2.2.x on SLES 11 SP3 and when i migrate our current http settings into 2.4.10 and rcapache2, i get this error:


Jan 15 17:03:53 webtest start_apache2[6019]: AH00526: Syntax error on line 36 of /opt/alfresco/tomcat/conf/jk.conf:
Jan 15 17:03:53 webtest start_apache2[6019]: Invalid command 'deny', perhaps misspelled or defined by a module not included in the server configuration
Jan 15 17:03:53 webtest start_apache2[6037]: AH00526: Syntax error on line 36 of /opt/alfresco/tomcat/conf/jk.conf:
Jan 15 17:03:53 webtest start_apache2[6037]: Invalid command 'deny', perhaps misspelled or defined by a module not included in the server configuration


Here is jk.conf:


<IfModule mod_jk.c>

    JkWorkersFile /opt/alfresco/tomcat/workers.properties
    JkLogFile /var/log/alfresco/mod_jk.log
    JkShmFile /var/log/alfresco/shm

    # Log level to be used by mod_jk
    JkLogLevel error


<Location "/share/WEB-INF/">
    #AllowOverride None
    deny from all
    </Location>


In fact, anytime i move a virtual host file to the SLES12 server and restart apache, i get an error about either order or deny. My guess is order and deny is no longer working in 2.4.10

 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] 2.4 Configuration Errors

Posted by Jeff Trawick <tr...@gmail.com>.
On Thu, Jan 15, 2015 at 5:25 PM, Chris Arnold <ca...@electrichendrix.com>
wrote:

>
> > On Jan 15, 2015, at 5:21 PM, Chris Arnold <ca...@electrichendrix.com>
> wrote:
> >
> >
> > apache 2.4.10 on SLES 12. We are moving from apache 2.2.x on SLES 11 SP3
> and when i migrate our current http settings into 2.4.10 and rcapache2, i
> get this error:
> >
> >
> > Jan 15 17:03:53 webtest start_apache2[6019]: AH00526: Syntax error on
> line 36 of /opt/alfresco/tomcat/conf/jk.conf:
> > Jan 15 17:03:53 webtest start_apache2[6019]: Invalid command 'deny',
> perhaps misspelled or defined by a module not included in the server
> configuration
> > Jan 15 17:03:53 webtest start_apache2[6037]: AH00526: Syntax error on
> line 36 of /opt/alfresco/tomcat/conf/jk.conf:
> > Jan 15 17:03:53 webtest start_apache2[6037]: Invalid command 'deny',
> perhaps misspelled or defined by a module not included in the server
> configuration
> >
> >
> > Here is jk.conf:
> >
> >
> > <IfModule mod_jk.c>
> >
> >     JkWorkersFile /opt/alfresco/tomcat/workers.properties
> >     JkLogFile /var/log/alfresco/mod_jk.log
> >     JkShmFile /var/log/alfresco/shm
> >
> >     # Log level to be used by mod_jk
> >     JkLogLevel error
> >
> >
> > <Location "/share/WEB-INF/">
> >     #AllowOverride None
> >     deny from all
> >     </Location>
> >
> >
> > In fact, anytime i move a virtual host file to the SLES12 server and
> restart apache, i get an error about either order or deny. My guess is
> order and deny is no longer working in 2.4.10
>
> I see, order/deny is now Require all denied.
>

from the upgrade doc:

 for compatibility with old configurations, the new module mod_access_compat
<http://httpd.apache.org/docs/2.4/mod/mod_access_compat.html> is provided.


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Re: [users@httpd] 2.4 Configuration Errors

Posted by Chris Arnold <ca...@electrichendrix.com>.
> On Jan 15, 2015, at 5:21 PM, Chris Arnold <ca...@electrichendrix.com> wrote:
> 
> 
> apache 2.4.10 on SLES 12. We are moving from apache 2.2.x on SLES 11 SP3 and when i migrate our current http settings into 2.4.10 and rcapache2, i get this error:
> 
> 
> Jan 15 17:03:53 webtest start_apache2[6019]: AH00526: Syntax error on line 36 of /opt/alfresco/tomcat/conf/jk.conf:
> Jan 15 17:03:53 webtest start_apache2[6019]: Invalid command 'deny', perhaps misspelled or defined by a module not included in the server configuration
> Jan 15 17:03:53 webtest start_apache2[6037]: AH00526: Syntax error on line 36 of /opt/alfresco/tomcat/conf/jk.conf:
> Jan 15 17:03:53 webtest start_apache2[6037]: Invalid command 'deny', perhaps misspelled or defined by a module not included in the server configuration
> 
> 
> Here is jk.conf:
> 
> 
> <IfModule mod_jk.c>
> 
>     JkWorkersFile /opt/alfresco/tomcat/workers.properties
>     JkLogFile /var/log/alfresco/mod_jk.log
>     JkShmFile /var/log/alfresco/shm
> 
>     # Log level to be used by mod_jk
>     JkLogLevel error
> 
> 
> <Location "/share/WEB-INF/">
>     #AllowOverride None
>     deny from all
>     </Location>
> 
> 
> In fact, anytime i move a virtual host file to the SLES12 server and restart apache, i get an error about either order or deny. My guess is order and deny is no longer working in 2.4.10

I see, order/deny is now Require all denied.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] 2.4 Configuration Errors

Posted by Yehuda Katz <ye...@ymkatz.net>.
The allow and deny directives have been removed in 2.4.
See the upgrade documentation:
http://httpd.apache.org/docs/2.4/upgrading.html

- Y

Sent from a gizmo with a very small keyboard and hyperactive autocorrect.
On Jan 15, 2015 5:20 PM, "Chris Arnold" <ca...@electrichendrix.com> wrote:

>
> apache 2.4.10 on SLES 12. We are moving from apache 2.2.x on SLES 11 SP3
> and when i migrate our current http settings into 2.4.10 and rcapache2, i
> get this error:
>
>
> Jan 15 17:03:53 webtest start_apache2[6019]: AH00526: Syntax error on line
> 36 of /opt/alfresco/tomcat/conf/jk.conf:
> Jan 15 17:03:53 webtest start_apache2[6019]: Invalid command 'deny',
> perhaps misspelled or defined by a module not included in the server
> configuration
> Jan 15 17:03:53 webtest start_apache2[6037]: AH00526: Syntax error on line
> 36 of /opt/alfresco/tomcat/conf/jk.conf:
> Jan 15 17:03:53 webtest start_apache2[6037]: Invalid command 'deny',
> perhaps misspelled or defined by a module not included in the server
> configuration
>
>
> Here is jk.conf:
>
>
> <IfModule mod_jk.c>
>
>     JkWorkersFile /opt/alfresco/tomcat/workers.properties
>     JkLogFile /var/log/alfresco/mod_jk.log
>     JkShmFile /var/log/alfresco/shm
>
>     # Log level to be used by mod_jk
>     JkLogLevel error
>
>
> <Location "/share/WEB-INF/">
>     #AllowOverride None
>     deny from all
>     </Location>
>
>
> In fact, anytime i move a virtual host file to the SLES12 server and
> restart apache, i get an error about either order or deny. My guess is
> order and deny is no longer working in 2.4.10
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] 2.4 Configuration Errors

Posted by David Grant <dm...@infinitydigital.com>.
from 2.2 to 2.4 'deny' should be replaced with ‘denied’


On Jan 15, 2015, at 2:20 PM, Chris Arnold <ca...@electrichendrix.com> wrote:

> 
> apache 2.4.10 on SLES 12. We are moving from apache 2.2.x on SLES 11 SP3 and when i migrate our current http settings into 2.4.10 and rcapache2, i get this error:
> 
> 
> Jan 15 17:03:53 webtest start_apache2[6019]: AH00526: Syntax error on line 36 of /opt/alfresco/tomcat/conf/jk.conf:
> Jan 15 17:03:53 webtest start_apache2[6019]: Invalid command 'deny', perhaps misspelled or defined by a module not included in the server configuration
> Jan 15 17:03:53 webtest start_apache2[6037]: AH00526: Syntax error on line 36 of /opt/alfresco/tomcat/conf/jk.conf:
> Jan 15 17:03:53 webtest start_apache2[6037]: Invalid command 'deny', perhaps misspelled or defined by a module not included in the server configuration
> 
> 
> Here is jk.conf:
> 
> 
> <IfModule mod_jk.c>
> 
>     JkWorkersFile /opt/alfresco/tomcat/workers.properties
>     JkLogFile /var/log/alfresco/mod_jk.log
>     JkShmFile /var/log/alfresco/shm
> 
>     # Log level to be used by mod_jk
>     JkLogLevel error
> 
> 
> <Location "/share/WEB-INF/">
>     #AllowOverride None
>     deny from all
>     </Location>
> 
> 
> In fact, anytime i move a virtual host file to the SLES12 server and restart apache, i get an error about either order or deny. My guess is order and deny is no longer working in 2.4.10
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org