Talk:Apache HTTP Server

From ArchWiki
Revision as of 00:13, 1 September 2014 by Sudoes (talk | contribs)
Jump to navigation Jump to search


Keep getting PID-errors: systemd[1]: PID file /run/httpd/ not readable (yet?) after start. (even when modules/ is disabled)

About the PHP Installation, mod_mpm_prefork seems not the best choice: I would vote for mod_proxy_handler

Beta990 (talk) 15:14, 16 March 2014 (UTC)


If the service httpd don't start, take a look at /var/log/httpd/error_log. If appears this line: -[alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "myhost" you must uncomment the line: LoadModule unique_id_module. Restart httpd and now it should work. --Nak 17:22, 22 April 2007 (GMT+1)

Using SSL

Could the SSL section be expanded to include how to use .htaccess and mod_rewrite to redirect traffic for certain sections or the whole site? I found apache2-forcing-all-inbound-traffic-to-ssl to be a useful resource in this respect. Corburn 13:58, 23 March 2012 (EDT)

userdir disable

I think that section need add:

#LoadModule userdir_module modules/

to fully disable userdir.

Jabalv (talk) 18:48, 25 December 2013 (UTC)

According to [1]:
"User directory substitution is not active by default in versions 2.1.4 and later. In earlier versions, UserDir public_html was assumed if no UserDir directive was present."
So I think it is safe to just not include the conf. --Lonaowna (talk) 18:20, 23 August 2014 (UTC)

apache 2.4 upgrade

PHP breaks with apache2.4 install due to the PHP not being "threadsafe" by default, and MPM in apache being turned on by default, and is now core apache. PHP_ZTS[2] in AUR fixes this. this is simply php recompiled.

You can also get PHP to work by using the mod_mpm_prefork as described in the first note in the PHP configuration section. You are right that you can also create an thread-safe PHP, but this is not recommended by PHP devs.[3] I think way currently described is the "right" way, but I'm not sure about that. --Lonaowna (talk) 09:25, 10 March 2014 (UTC)
Note about apache 2.4 upgrade is already added. Close. --Fengchao (talk) 11:47, 31 August 2014 (UTC)

There used to be a really good LAMP guide here, is there any way I can save it? The LAMP page history is just a history of redirects now. :(