Category "apache"

Can't start httpd - Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/*/Library/LaunchAgents/homebrew.mxcl.httpd.plist` exited with 5

Just tried accessing my localhost today, but it doesn't work. I worked yesterday, but I believe it's because my Mac crashed. I've tried started httpd again with

Getting count of established connections to a host on apache server

Lets say I have 5 sites hosted on apache server. Now to get the total established connections to apache I can use: netstat -anp | grep :80 | grep ESTABLISHED |

How to configure Apache to listen some different port?

I am facing problem in starting XAMPP. First of all it gives me error messages in RED when i start XAMPP control panel. When i click on START APACHE, it starts

enable Apache http Authorization header

I write an API with PHP ZF2 they use HTTP Authorization. I fetch all HTTP Headers with apache_request_headers() (also tested with ZF2's $this->getRequest()-&

Redirect Elastic Beanstalk URL to domain name

I have an app hosted on AWS Elastic Beanstalk, which is assigned an environment URL as such: <my-appname>.<aws-region>.elasticbeanstalk.com I also h

PHP - Store information with NO database

I am going to improve a web site in Apache and PHP which has a page with a table containing a list of files. My goal is to allow the user to set one of those fi

Remove .php extension with .htaccess

Yes, I've read the Apache manual and searched here. For some reason I simply cannot get this to work. The closest I've come is having it remove the extension, b

PHPS source file - 403 Forbidden You don't have permission to access this resource

Hi I am trying to view a .PHPS source file on Ubuntu 20.04.3 Apache 2.4.41 PHP 7 server but when I view the .phps file in the browser I get this message - 403

Using certbot to authenticate domain

My domain is advice.com. I'm running Apache webserver on Ubuntu 20.04 LTS. I've configured domain name as per this link: Within my internet, I can access domain

Navigation idle on content download

Hello I have a website developed in cakePHP 2.10. For a while when I browse my site I realized that I have a loading time always in the order of 5 seconds even

What to import to use IOUtils.toString()?

I am trying to use IOUtils.toString() to read from a file. However, I am getting an error saying "IOUtils cannot be resolved." What am I supposed to be importi