Questions tagged [httpd]

163 questions
96
votes
5 answers

Why does the system have /etc/sudoers.d? How should I edit it?

Last time, I asked about the risk of these (in /etc/sudoers): user_name ALL=(ALL) /usr/bin/vim /etc/httpd/confs/httpd.conf %group_name ALL=(ALL) /usr/bin/vim /etc/httpd/confs/httpd.conf While I was thinking about this problem, I found…
aob
  • 1,095
42
votes
4 answers

How do I stop httpd running under Mac OS X (10.11) El Capitan Server?

I am using OS X El Capitan with the Server (app) configured to allow me VPN access to my home network. Unfortunately, the Server app has decided to start a bunch of httpd processes, which are now listening on ports 80, 443 and others, even though…
Chris
  • 1,268
19
votes
3 answers

In what order does Apache load conf files and which ones?

I'm looking at a CentOS 6.5 server with a webframework installed that has been added to over the years by many. There are what looks like 5 active .conf files in /conf, including httpd.conf. In httpd.conf the include reads Include…
chrtp
  • 193
16
votes
1 answer

What is the difference between Apache Web Server and Apache HTTPD?

I am doing some application monitoring and my requirement is to see what differentiates an Apache Web Server and Apache HTTPD. I know Apache Web Server is a "server" and Apache httpd is a "program". I need to run both on Linux. Is there any…
techbum
  • 171
15
votes
3 answers

Can I end all httpd processes? (OSX, 10.7.4, Lion)

I have several instances of httpd running on my Mac. Don't need to run a web server, would like to end them all, as they add up to about 100mb of unnessecary RAM. What is the configuration that sets them to run? How can I disable it?
dmanexe
  • 320
12
votes
3 answers

Is there any way to reset the `httpd.conf` in CentOS to the original/default version?

I was learning server installation by creating a web server in VMware, I don’t know what changes I made to httpd.conf. Is there any way to reset all the configuration for httpd.conf to default? Command used: vi /etc/httpd/conf/httpd.conf Updated…
9
votes
1 answer

.htaccess 301 redirect with regular expressions

If I have: redirect 301 /users/foo http://www.example.com/profiles/foo redirect 301 /users/bar http://www.example.com/profiles/bar Can I do something like? redirect 301 ^\/users/(.+)$ http://www.example.com/profiles/$1 Edit Found a…
macek
  • 6,525
8
votes
5 answers

Apache problems after upgrading to Yosemite

My Mac web server won't work after upgrading to Yosemite. When I type apachectl into Terminal, I get this: httpd: Syntax error on line 527 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /private/etc/apache2/other/+php-osx.conf: Cannot…
7
votes
1 answer

Can I view the resolved config Apache is using?

Is there a way to view the final "effective" config a running Apache instance is using after resolving any/all includes and the like? I'm looking at a config that has a web of includes and suspect some of the issues I'm having are related to the…
Wilco
  • 711
5
votes
2 answers

How to make break line inside an instruction in Apache httpd.conf

I would like to make line break in my Apache configuration file - httpd.conf. Is it possible? If yes what is the special character to signal such a line break? So far I tried with backslash, what always resulted in "invalid command error" while…
andilabs
  • 571
5
votes
0 answers

After last windows 10 update httpd.exe can't start

On Monday I updated windows 10, and then, on Tuesday I tried to start Apache from xampp, but it failed. xampp told me to see Windows Event Viewer Windows-> application Bad application name: httpd.exe, version: 2.4.39.0, timestamp: 0x5cee4f90 Failed…
5
votes
2 answers

Apache will not start, no httpd error messages

I am trying to start the httpd service on RHEL 7. When I run systemctl start httpd, it fails. Here is the output of journalctl -xe. There are no apparent error message for httpd, Would the errors for polkitd be affecting apache? How would I…
4
votes
1 answer

Why is there "httpd" on OS X and "apache" on Ubuntu?

Why is there a difference in the name for the same thing on different OSes? On OS X I have httpd. On Linux, apache. ps aux | grep httpd ps aux | grep apache Why is this?
user98645
4
votes
1 answer

Where is httpd.exe supposed to be?

On our server is Windows Server 2008 R2 Enterprise Edition. Apache won't load. I have been chasing this for a few days now; received lots of advice. One specific set of instructions was to see what httpd.exe reports. I tried, but couldn't run…
4
votes
1 answer

Weird Apache error - Apache hangs & needs restarting regularly

I've been recently receiving this weird error where Apache just becomes unresponsive and completely stops until it is manually restarted. It gets to a point where I can not longer retrieve apache status from cPanel, and all websites running apache…
Moe
  • 619
1
2 3
10 11