Questions tagged [httpd]

156 questions
82
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
  • 955
  • 1
  • 6
  • 8
41
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,208
  • 3
  • 13
  • 19
18
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
  • 183
  • 1
  • 1
  • 5
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
  • 1
  • 2
  • 10
13
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
  • 141
  • 1
  • 1
  • 5
12
votes
2 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…
KodeCeeper
  • 123
  • 1
  • 1
  • 5
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,035
  • 17
  • 46
  • 57
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…
Tom Oakley
  • 203
  • 1
  • 2
  • 9
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
  • 533
  • 1
  • 7
  • 18
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…
User.1
  • 652
  • 4
  • 15
  • 23
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
  • 549
  • 2
  • 5
  • 16
4
votes
2 answers

Uninstall Apache using make

I installed httpd using make. But i cant find any remove/uninstall method in README or INSTALL files. Also, i searched the http://apache.org docs. There also there is no mention of uninstalling using make. Actually, i didnt pass the PREFIX value,…
user31378
1
2 3
10 11