I just started up my computer and Apache in XAMPP no longer works. I suspect is has something to do with the fact that I accessed a server for my parents website earlier today for the first time.
The error log is giving this message:
[Sun Aug 04 09:15:35.889700 2013] [authz_core:error] [pid 5088:tid 1776] [client ::1:58124] AH01630: client denied by server configuration: C:/Users/James/Desktop/Container/XAMPP/apache/icons/folder.gif, referer: http://localhost/Triiline1/
I changed this part of the httpd.conf
, based off of these:
client denied by server configuration and Apache: client denied by server configuration
<Directory "C:/Users/James/Desktop/Container/XAMPP/cgi-bin">
AllowOverride All
Options None
Require local
</Directory>
I tried require all granted
and require local
, no results.
MySQL still functions in XAMPP. How can I fix this?
UPDATE:
Several hours later, I open XAMPP, click start, and it works fine. No clue. I am interested if anybody has an explanation or a solution if this happens again.
Resolve Apache Port Conflicts If Apache cannot start, you won't be able to access your XAMPP dashboard or any sites you have installed on the platform. A port conflict may be the underlying problem. By default, Apache connects over port 80.
cwiki.apache.org/confluence/display/HTTPD/…: “This error means that the access to the directory on the file system was denied by an Apache configuration.”
Apache in Xampp will not start if there is another application using port 80.
For example : Skype uses port 80. Therefore when Skype is running Apache will refuse to start since its working port is not available to be registered.
You have mentioned that you tried to access the server from your parents website. How did you do that? Xampp do not allow non local ip's to access its apache server running on local machine / network.
If you want this behavior to be changed, use "Allow All" and remove if any "Deny" parameter is specified in httpd.conf.
Don't forget to save config file. Restart the Apache server to apply the new rule.
Cheers..!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With