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

Can RHEL 4 have two instances of apache httpd running using two different config files?

We have a Red Hat Enterprise Linux 4 instance running Apache on the default port. We want to add a second Apache instance that we can restart completely separate from the first instance. Can we do this? Perhaps is there another easy-to-maintain web…
Geo
  • 3,071
  • 11
  • 42
  • 52
7
votes
4 answers

Add a directory to the Apache Web Root?

I'm running httpd on linux. I have a folder (/data/) that is not in the apache web directory (/var/www/html/) that I would like users to be able to access from their browser. I don't want to move this folder. How do I make files in this folder…
T. Brian Jones
  • 927
  • 4
  • 17
  • 29
7
votes
3 answers

PUT request results in 403 Forbidden - Need Apache to allow PUT requests

I am building a RESTFUL API and need to get Apache to accept PUT requests. Whenever I put to a URL, I am getting a 403 Forbidden error. curl -X PUT api.example.com/api/foo I have tried to add the following to my Virtual Directory (To no…
mmattax
  • 1,304
  • 7
  • 19
  • 30
7
votes
3 answers

Run both sshd and httpd SSL on port 443

Is it possible by anyway (maybe with inetd) to make 443 port serve both as sshd and as httpd SSL? Perhaps by analysing the request, if request is "CONNECT", then let httpd handle the connection; if request is ssh initialization, then let sshd…
xiamx
  • 1,212
  • 2
  • 9
  • 10
7
votes
2 answers

What is the maximum number of virtualhosts Apache can handle?

What is the maximum number of VirtualHosts Apache can handle on a single machine (I don't mean anything related to load, let's suppose it's irrelevant for the question). And we take only Apache without any proxifying things like nginx. I am asking…
Vladislav Rastrusny
  • 2,671
  • 12
  • 42
  • 56
6
votes
1 answer

Apache HTTPd 2.2 is ignoring LocationMatch regex

I am trying to create a Reverse Proxy that match every URL except one in Apache 2.2. It works on Apache 2.4 (Centos 7), but not in Apache 2.2 (Centos 6.6) ... # Do not modify this ProxyPass…
cactuschibre
  • 170
  • 7
6
votes
1 answer

Can't restart httpd.service on CentOS 7 (Apache server)

I used the command "service httpd restart" on my centOS apache server, and the following error occurred: Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service and "journalctl -xe" for…
Denise
  • 263
  • 3
  • 5
  • 10
6
votes
7 answers

fastest web server for static, dynamic content?

I'm looking for the fastest http server available for: serving static content -- huge set of large images. Minimal features need, just as fast as possible. dispatching dynamic content plugins -- think a web server that does on-the-fly watermarking…
Mark Harrison
  • 805
  • 2
  • 12
  • 20
6
votes
1 answer

Apache user authentication based on LDAP group memberships not working

i would like to auhenticate and authorize all users of one LDAP group (ApacheDS 2.0.0-20 on Windows, using multiple uniqueMember attributes in the group and the "Require ldap-group" statement in httpd config) for access to a web ressource. The user…
R. Wambacher
  • 61
  • 1
  • 1
  • 3
6
votes
1 answer

Failed to start nagios.service: Unit nagios.service failed to load: No such file or directory

I have been following this tutorial: $ sudo systemctl start nagios Failed to start nagios.service: Unit nagios.service failed to load: No such file or directory. What is the cause of problem? I have: $ sudo /usr/local/nagios/bin/nagios -v…
Mona Jalal
  • 433
  • 2
  • 5
  • 13
6
votes
3 answers

Run Perl CGI Scripts On CentOS 7 With Apache/Httpd

My CGI Perl scripts CentOS 7 are not running correctly, they are either showing up as plain text or I am getting a server error. I've been placing my scripts into the default /var/www/cgi-bin directory with no luck. I tried to place CGI scripts into…
Joseph
  • 183
  • 1
  • 1
  • 10
6
votes
3 answers

How add SSL/443 to Apache server without virtual host?

I have an apache server set up on CentOS. I am trying to add SSL. I was able to create the certificate and keys and then updated /etc/httpd/conf.d/ssl.conf to have the following configurations: /etc/httpd/conf.d/ssl.conf #Where I put my…
Don Rhummy
  • 403
  • 4
  • 8
  • 16
6
votes
3 answers

How do I configure apache to accept a client ssl certificate (if present) or authenticate using ldap (if the cert is absent)?

I have an Apache server that serves up mercurial repositories and it currently authenticates using ldap credentials. I want to permit a single user (to start with) to use a SSL client certificate, with all remaining users still able to use the…
jmwood051
  • 69
  • 1
  • 1
  • 3
6
votes
3 answers

Restarting the httpd service in RHEL returns "Stopping httpd: [FAILED]" - How do I fix this?

This is my first indication of an issue: $ sudo /sbin/service httpd restart Stopping httpd: [FAILED] Starting httpd: no listening sockets available, shutting down Unable to open logs …
ghbarratt
  • 163
  • 1
  • 1
  • 6
6
votes
4 answers

Apache: Automatic log splitting per Virtual Host?

Whenever we create new Virtual Hosts on our dev servers, we always have to manually specify separate access and error logs: ErrorLog logs/mysite/dev1-error.log CustomLog logs/mysite/dev1-access.log "common" Is there anyway to make Apache…
Jake Wilson
  • 8,814
  • 29
  • 97
  • 125