Re: 2.4 Configuration Errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <carnold@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux