Category "apache"

Mac Apache web server won't start anymore and can't find any web directories

I'm on Mac Yosemite 10.10.5. Apache web server suddenly no longer starts. I tried changing the port to 8080. Also tried sudo apachectl stop and sudo apachectl s

Empty PHP POST Variables

Background Web-based contact form. Problem The $_POST array is empty. When errors are enabled, no errors (except empty array values) are found. The code was

How to give apache permission to write to home directory?

My server is in /var/www/html I have a php script in /var/www/html/fileio_test/io_test.php <?php $logging = <<< LOG This is a test LOG; $testfil

Cannot load imagick library

I have installed the imagick from here (ImageMagick-7.0.3-1-Q16-x64-dll) and the dll (TS 32 bit) from here. And also copiend the CORE_RL_* to the C:\xampp\apach

Where can I find the WAMP error log?

I am using WAMP2.2 on Windows. I need to set up SSL port on my server. My Apache, WAMP and site work well without SSL. But when I uncomment the line Include co

LdapInvalidDnException: unexpected token:

I am getting the below exception while doing a ldap search and wondering if it is a problem with api or something I need to fix ? 16:41:19,290 ERROR [com.sync

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