Questions tagged [apache2.4]

Use this tag for Apache version 2.4.x specific question.

Apache 2.4 has improved caching, proxy modules as well as new session control

Run-time Loadable MPMs

Event MPM

Better support for asynchronous read/write for supporting MPMs and platforms.

A new expression parser allows to specify complex conditions using a common syntax in directives like SetEnvIfExpr, RewriteCond, Header, , and others.

951 questions
503
votes
32 answers

Apache2: 'AH01630: client denied by server configuration'

I get this error when trying to access localhost via a browser. AH01630: client denied by server configuration I checked my site folder permissions using: sudo chmod 777 -R * Here is my configuration file: ServerAdmin…
Hazem Hagrass
  • 9,329
  • 10
  • 32
  • 54
260
votes
9 answers

Apache Proxy: No protocol handler was valid

I am trying to proxy a subdirectory to another server. My httpd.conf: RewriteEngine On ProxyPreserveHost On RewriteRule .*subdir/ https://anotherserver/subdir/ [P] The problem is that Apache is always logging this: AH01144: No protocol handler was…
das_j
  • 4,444
  • 5
  • 31
  • 47
79
votes
18 answers

how to fix stream_socket_enable_crypto(): SSL operation failed with code 1

stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Im using Laravel 4.2, PHP 5.6, Apache 2.4 I have GoDaddy SSL installed in…
user4612911
69
votes
7 answers

Best way to rotate Apache log files

I've got an Apache server that has one access log file that is topping 600MB. This makes it really hard to search the file or parse it. What software or modules for Apache are available that will make a daily copy of my access file to make it more…
Scott Gottreu
  • 3,586
  • 4
  • 28
  • 34
31
votes
2 answers

Change localhost directory for Yosemite Apache 2.4

I have clean installed Mac OSX Yosemite but I cant configure the Apache 2.4 like I have always done on older OSX versions. Here is what I want to do : set the "localhost" directory to "/Users/username/Public/". But, everything I tried won't work, I…
Jordan
  • 3,776
  • 3
  • 22
  • 28
20
votes
5 answers

Apache shutdown - Couldn't grab mutex

For some reasons unknow to me, Apache is crashing. This is the apache log at the moment of the crash: [Sat Jun 02 02:38:05.196006 2018] [mpm_prefork:emerg] [pid 1122] (43)Identifier removed: AH00144: couldn't grab the accept mutex [Sat Jun 02…
Preciel
  • 2,666
  • 3
  • 20
  • 45
19
votes
7 answers

Installation SSL in wamp server: Error in httpd-ssl.conf

I am trying to set ssl on local host i have follwed the http://madurad.wordpress.com/2014/04/25/redirect-http-to-https-with-wamp-server/ and many others but unable to get success. i stuck in the syntax of httpd-ssl.conf. my apache server get down…
Ammar Hayder Khan
  • 1,287
  • 4
  • 22
  • 49
19
votes
6 answers

How to show Directory Index in Apache 2.4 with custom Document Root

i have problem in Apache 2.4 in Ubuntu 13.10. I try to change Document Root to /home/fandi/public_html And all working fine. But i try to create folder in my public_html/ i get an error like this : [Sat Jan 25 10:59:50.149441 2014] [autoindex:error]…
fanjavaid
  • 1,676
  • 8
  • 34
  • 65
17
votes
8 answers

Enable cURL on PHP7 windows10 64 bit Apache 2.4

I am using Windows10 64 bit Apache 2.4.25 (Win64) PHP 7.1.0-Win32-VC14-x64 when i try calling curl_init() function, i get an error saying "Call to undefined function curl_init()" tried following copying ssleay32.dll & libeay32.dll & php7ts.dll to…
Sonic
  • 183
  • 1
  • 1
  • 7
17
votes
4 answers

htaccess If...Else always selects Else

I set an environment variable in httpd-vhosts.conf SetEnv EARLY_VAR 1 I try setting special rules based on its value in .htaccess SetEnv TEST_VAR if_branch SetEnv TEST_VAR else_branch I…
BeetleJuice
  • 39,516
  • 19
  • 105
  • 165
17
votes
1 answer

Can't configure the rewrite log

I'd like to enable the rewrite log to debug some rewrite rules that are giving me problems. So I added these lines at the end of my httpd.conf file: RewriteLog "/logs/rewrite.log" RewriteLogLevel 4 Next…
Luis Martin
  • 910
  • 3
  • 14
  • 31
14
votes
4 answers

414 URI too long. But not always

I have the following url to reset my…
Niek de Gooijer
  • 654
  • 1
  • 9
  • 18
13
votes
2 answers

Installing apache 2.4 and php 5.5 on ubuntu 12.04

I'm trying to set a test enviroment with apache 2.4 and php 5.5 on a vm with ubuntu 12.04, fist thing is to add the repositories apt-add-repository ppa:ptn107/apache apt-add-repository ppa:ondrej/php5 Then installing apache 2.4 apt-get install…
Miguel
  • 395
  • 1
  • 5
  • 13
12
votes
1 answer

Laravel The stream or file "/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied

I'm running Laravel app on server (Ubuntu 16.04). I have an error The stream or file "/var/www/mydomain.com/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied I've already google my question. I found this…
user9250371
12
votes
6 answers

Apache 2.4.9 fails after enabling ssl module and setting up ssl certificate

Apache throws the following errors after attempting to set up ssl certificates: [ssl:emerg] [pid 30907] AH02572: Failed to configure at least one certificate and key for localhost:443 [ssl:emerg] [pid 30907] SSL Library Error: error:140A80B1:SSL…
Lipika
  • 123
  • 1
  • 1
  • 7
1
2 3
63 64