logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: issues with Apache 2.4 on El Capitan
Author
Doug22



Joined: 02 Jun 2013
Posts: 57
Location: Houston TX

PostPosted: Wed 30 Dec '15 0:39    Post subject: issues with Apache 2.4 on El Capitan Reply with quote

OK, I've upgraded to El Capitan from Mountain Lion on my Mac, and my webserver is up and running, sorta. Two issues, that I'd like to get some wisdom on.

(1) First of all, my indexes don't have icons attached, corresponding to mime type. They did before. The icons are in /usr/share/httpd/icons, but my server evidently doesn't seem aware of them. How do I point to them?

(2) I had a perl script that I used as a cgi bot-test on the home page. As in, type in the year to prove you are human. That doesn't work anymore. I call up that cgi page, and it just prints the text on that page.I'm hearing that maybe Apache 2.4 doesn't natively support perl yet? What are my options?
Back to top
Doug22



Joined: 02 Jun 2013
Posts: 57
Location: Houston TX

PostPosted: Wed 30 Dec '15 18:53    Post subject: Reply with quote

FWIW, Apache is giving me a

"client denied by server configuration: /usr/share/httpd/icons/blank.gif"

error message when one of these icons (blank.gif) is requested. All of these shared system icons offer read permission to everyone, so that's not the issue.

So the question is more how do I keep my server configuration from denying this file to the client??

One thing that kinda sucks about El Capitan is that users aren't natively allowed to make mods to /usr files, even as root. Yes, you can disable the new System Integrity Protection system, but that's sort of a PIA.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7407
Location: EU, Germany, Next to Hamburg

PostPosted: Fri 01 Jan '16 12:51    Post subject: Reply with quote

The file permissions are ok for /usr/share/httpd/icons/ ?

Is there a <Directory /usr/share/httpd/icons/> in the config?
Back to top


Reply to topic   Topic: issues with Apache 2.4 on El Capitan View previous topic :: View next topic
Post new topic   Forum Index -> Apache