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
6
votes
2 answers

How would I run two different web servers on the same server?

I know that you can't listen to the same port and IP using two different server processes, but apparently this is possible if you allocate a separate IP address to each. Is this the case? I'm contemplating running both ningx and Apache on the same…
Jordan Reiter
  • 1,290
  • 4
  • 20
  • 40
6
votes
3 answers

htaccess vrs httpd.conf?

Is it still true that you shouldn't use htaccess files if you can use httpd.conf? The Apache site says "In general, you should never use .htaccess files unless you don't have access to the main server configuration file." But I don't know how old…
nedlud
  • 273
  • 2
  • 10
6
votes
1 answer

Apache treating files with ".var[.]" in their names as type-maps

So today at work I ran into a strange problem. An application I was writing had a JavaScript file named form.sales.var.js, placed in the same directory as other JS files. However, when the browser tried to load the JS file, the server returned a 500…
Lèse majesté
  • 369
  • 1
  • 2
  • 11
5
votes
6 answers

PHP-FPM - Error 503 - Attempt to connect to Unix domain socket failed

I get on server this errors (CentOs 7): [proxy:debug] proxy_util.c(2209): [client 80.251.245.153:61902] AH00944: connecting fcgi://127.0.0.1/data/webs/dev/index.php to 127.0.0.1:8000 [proxy:debug] proxy_util.c(2246): [client 80.251.245.153:61902]…
Pavel Novák
  • 51
  • 1
  • 1
  • 3
5
votes
0 answers

SELinux: How to allow apache, samba and tomcat access on the same file

Running RedHat 7.4 Until recently I could use semanage fcontext -a -t public_content_rw_t '/var/www(/.*)?' restorecon -R /var/www from answer https://serverfault.com/a/346779/125461 on How do I get SELinux to allow Apache and Samba on the same…
5
votes
1 answer

OpenBSD: How to use `relayd` and `httpd` for redirecting subdomain requests

Situation I created the following setup on OpenBSD: So I have my OpenBSD server on 192.168.1.250 redirecting all http-requests to the host-vm on 192.168.30.2. The host-vm itself operates nginx for redirecting subdomain-requests like so: ## the…
Jan
  • 107
  • 1
  • 8
5
votes
2 answers

Apache rewrite all URLs to lowercase if contains at least one uppercase

I have been trying to get Apache to rewrite all URL's that contain an uppercase character anywhere in it to be lowercase. All the solutions I have found do not work in my case for some reason. I am hoping someone here can help me track down…
BigB8767
  • 51
  • 1
  • 1
  • 2
5
votes
3 answers

FreeIPA without web UI or change of ports

Can I install FreeIPA server without httpd (without web UI)?? Or at least can I change the ports?? (80->8880 and 443->8443)
jjaros
  • 259
  • 1
  • 4
  • 10
5
votes
3 answers

httpready problem on Apache httpd restart on FreeBSD?

I run Apache HTTPD 2.2 on my FreeBSD 7.2 webserver. I have enabled the httpready and dataready in my /boot/loader.conf, like this: accf_http_load="YES" accf_data_load="YES" That works great when the server is started, but whenever I restart (via…
mikl
  • 622
  • 1
  • 11
  • 17
5
votes
3 answers

Failed to enable the 'dataready' Accept Filter

I'm not sure why, but I'm getting this warning when I start my apache... su-3.2# /usr/local/apache2/bin/apachectl start [Wed Sep 23 13:40:42 2009] [warn] (2)No such file or directory: Failed to enable the 'dataready' Accept Filter su-3.2# grep accf…
alexus
  • 13,112
  • 32
  • 117
  • 174
5
votes
1 answer

restarting apache http server without interrupting http downloads

if I have large file downloads served with apache server, is there a way to restart/reload the http server(eg. with new httpd.conf update) without interrupting ongoing file downloads? or at least provide a way for clients to resume downloads?
user12145
  • 1,115
  • 6
  • 28
  • 47
5
votes
2 answers

Is it possible to have 2 Error Logs per VirtualHost in Apache?

I have about 10 VirtualHosts and I like to keep the error_logs separated. Recently, I need to also have the error_logs all combined for some mod_security scanning. If I define 2 ErrorLogs for a test VirtualDomain, I notice that no error's are being…
Pat
  • 274
  • 3
  • 14
5
votes
1 answer

List of SSL Cipher Support by Browser

Not really sure if this is the appropriate SE to post this to, but here it is: Is there some online reference for what SSL ciphers are supported by the various browsers? Basically, I'm interested in hardening systems by ensuring lower key lengths…
Bratchley
  • 231
  • 3
  • 15
5
votes
2 answers

The proxy server received an invalid response from an upstream server

I have tomcat server behind the apache. I am using mod_ssl and reverse proxy to the tomcat. All are running at default ports. The full error is as follow. ack Proxy Error The proxy server received an invalid response from an upstream server. The…
chandank
  • 847
  • 3
  • 14
  • 31
5
votes
1 answer

/var/lib/mysql folder is missing

I've created a virtual machine and am installing things from scratch. Definitely not a sys admin so I'm running into some trouble. I've installed these packages and then restarted httpd yum -y install mysql yum -y install php-mysql yum -y install…
andrewtweber
  • 449
  • 1
  • 10
  • 18