Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Client denied by server configuration Apache httpd 2.4 |
|
Author |
|
BigChill
Joined: 22 Jun 2015 Posts: 4 Location: Boston, MA, USA
|
Posted: Mon 09 Nov '15 16:52 Post subject: Client denied by server configuration Apache httpd 2.4 |
|
|
Hello,
We use Apache to frontend a database application we have that uses the Progress Webspeed tools.
This is our first time working with version 2.4
We have a folder with a bunch images that we display on various pages of our app. We set up an alias called webmessaging to this folder.
When a user displays a page that accesses some of these images from this folder they do NOT display.
In the Apache error log I see an error:
AH01630: client denied by server configuration:
D:/APPLICD/Hci/webmessaging/web/blank.html, referer: http://localhost/cgi-bin/cgiip.exe/WService=webmessaging/webmessaging.html
A similar error occurs for each of our images:
AH01630: client denied by server configuration: D:/APPLICD/Hci/webmessaging/web/Images/tb-bar.gif, referer: http://localhost/cgi-bin/cgiip.exe/WService=webmessaging/websessioncontext.w?BrowserType=NS5
I believe that something in my Apache httpd.conf file is wrong.
Can anyone help me?
Thanks in advance,
Jim |
|
Back to top |
|
BigChill
Joined: 22 Jun 2015 Posts: 4 Location: Boston, MA, USA
|
Posted: Tue 10 Nov '15 4:19 Post subject: |
|
|
I found the answer by reading the documentation. Turns out that the commands to allow access to a resource are very different. Here is a link to the documentation:
https://httpd.apache.org/docs/trunk/upgrading.html
I changed the following in the httpd.conf file:
In this example, all requests are allowed.
2.2 configuration:
Order allow,deny
Allow from all
2.4 configuration:
Require all granted
This last little tidbit saved me.
Be well, everyone. |
|
Back to top |
|
|
|
|
|
|