-- Can you point me to an example of the newer syntax?
-- On Behalf Of Joe Pluta


You are looking for the new Apache/2.4.20 syntax.

https://httpd.apache.org/docs/2.4/upgrading.html

To deny:

2.2 configuration:

Order deny,allow
Deny from all

2.4 configuration:

Require all denied



And to allow:

2.2 configuration:

Order allow,deny
Allow from all

2.4 configuration:

Require all granted



There are numerous guides on converting from the 2.2 to 2.4 format.

Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.