Questions tagged [httpd]

httpd is a typical process name of a web server.

httpd (for Hyper Text Transport Protocol Daemon) is a typical name of the web server process.

Apache is the most popular web server that runs using this process name. It is also the name given to the new default server for OpenBSD 5.7 and on.

1448 questions
14
votes
1 answer

why isn't laravel's php artisan serve server being accessible from the WWW on IIS

I have a laravel application running through the laravel artisan server: php artisan serve and it works just fine if I go on my localhost:8000.. Further, I added an inbound rule in the IIS server like so: Control Panel -> Administrative Tools ->…
abbood
  • 1,127
  • 4
  • 13
  • 21
12
votes
1 answer

PHP Hostname not correct

We have an application that has been running for about 2 years now without any issue. This morning when I came in the site was getting an error: Session: connection failed I checked the database connections, checked the user, checked the grants for…
Anthony Fornito
  • 9,546
  • 1
  • 34
  • 124
12
votes
4 answers

Disable modsecurity For a Specific Directory

How do you disable modsecurity for just a specific directory. I'm getting errors in phpMyAdmin that are caused by modsecurity tripping based on rules. I have the following files set up: #…
dragonmantank
  • 493
  • 3
  • 12
  • 19
12
votes
2 answers

Apache / httpd not starting automatically on boot

I have apache2 installed on Amazon Linux AMI release 2012.03. I'm able to start it manually just fine, without any errors using /etc/init.d/httpd start. However, it doesn't start automatically when the machine is booted up. It appears that…
Mike Cialowicz
  • 283
  • 1
  • 3
  • 10
12
votes
6 answers

Why is https not working?

I am trying to redirect just the root of my site to https. Although the rewrite happens, https does not yield anything. The browser says. connecting to thinkingmonkey.me... and stagnates. Listen 80 & Listen 443 are present in the conf file. I…
ThinkingMonkey
  • 476
  • 1
  • 9
  • 18
12
votes
4 answers

Is it possible to create Custom Error Log in Apache 2.2?

I'd like to prepend the vhost name in my ErrorLog and then pipe it into a program I wrote. Is it possible to write Custom Error log format as it is with Access log?
JohnT
  • 145
  • 1
  • 1
  • 4
11
votes
5 answers

Apache 2.4 is unkillable and can't be stopped on Windows Server

We have two Windows Server, one in 2012 R2 and the other in 2008 R2 which uses Apache HTTP Server (httpd) 2.4 in proxy/reverse-proxy mode (usage of ProxyPass, ProxyPassReverse and Virtual Hosts configuration). Both servers uses Apache 2.4.27 x64…
11
votes
6 answers

Forwarding PHP requests via ProxyPassMatch as a handler, or only when file exists

I am migrating my server to use mod_proxy_fcgi and php-fpm instead of mod_php. Apache is able to forward .php requests to the fcgi proxy and PHP executes correctly. I've got this working with: ProxyPassMatch ^/(.*\.php(/.*)?)$…
ide
  • 211
  • 1
  • 2
  • 5
11
votes
2 answers

Permanently Disable Init Service

I just provisioned a new VPS running CentOS 6, and it comes with Apache. I want to disable Apache, because I will be using Nginx instead. I know I can just delete the script in /etc/init.d/, but I don't want to do that, because it's a stock thing…
Max Bucknell
  • 223
  • 1
  • 3
  • 9
11
votes
5 answers

Apache httpd won't stop doing reverse DNS requests for clients' IPs

Obviously my Apache httpd instance is doing reverse DNS (RDNS, give me the hostname for this IP address) lookups for each incoming client connection's IP address. This is bad. Especially since sometimes resolution fails with a missing PTR record -…
Paul
  • 1,918
  • 4
  • 18
  • 24
10
votes
1 answer

HTTPD listening in IPv6, according netstat, but reacheable in IPv4

Using Openstack, I have a Web GUI (horizon) hosted on my server (HTTPS). When I do a netstat -lt | grep https, I have: tcp6 0 0 [::]:https [::]:* LISTEN With lsof -i :443, I have: COMMAND PID USER FD …
Antonin M.
  • 205
  • 1
  • 3
  • 8
10
votes
3 answers

Invalid command 'SSLEngine' Centos

I uninstalled Apache, and reinstalled it, and now when I try to start it I get the following error: Syntax error on line 94 of /usr/local/psa/admin/conf/generated/13636697550.95452800_server.include: Invalid command 'SSLEngine', perhaps misspelled…
Rafiq Abdo
  • 103
  • 1
  • 1
  • 4
10
votes
2 answers

Why does apache httpd tell me that my name-based virtualhosts only works with SNI enabled browers (RFC 4366)

Why does apache give me this error message in my logs? Is it a false positive? [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) I have recently upgraded from Centos 5.7 to 6.3, and…
Arlukin
  • 1,203
  • 6
  • 18
  • 27
10
votes
2 answers

Viewing complete computed Apache httpd configuration?

Is there a command / tool to generate the computed configuration that Apache httpd is using? I know I can manually go through the httpd.conf and other configuration files, but is there a standard tool to generate a configuration of all included…
jamiebarrow
  • 201
  • 1
  • 6
10
votes
2 answers

HowTo redirect HTTP to HTTPS on the same httpd?

Here is what I have got: CentOS 5.4 (32-bit) installed Apache httpd (Server version: Apache/2.2.11 (Unix)) mod_rewrite already presents Question: how to redirect simple http://site.com to https://site.com not using VirtualHost defines? PS:…
mosg
  • 235
  • 1
  • 2
  • 11
1
2
3
96 97