Difference between revisions of "Talk:Apache HTTP Server"

From ArchWiki
Jump to: navigation, search
(linux is software?)
m (SSL Redundant Steps: Remove closed discussion.)
Line 22: Line 22:
[[User:Harlekin|harlekin]] 21:13, 13. Mai 2007 (GMT+1)
[[User:Harlekin|harlekin]] 21:13, 13. Mai 2007 (GMT+1)
== <s> SSL Redundant Steps </s> ==
In the steps to creat a self-signed certificate, the process seems to contain unnecessary steps.  Here are the relevant parts of the steps:
# The "-des3" option encrypts the key with a passphrase.
# The encrypted key is copied to server.key.org.
# The passphrase is removed.
# The rest of the process goes on to only use the decrypted version of the key, including the setting in httpd-ssl.conf
Shouldn't the "-des3" option, the "cp" line, and the line to decrypt be removed?
Also, 2048 seems to be the minimum standard key length these days.  Should that also be changed?
It might also be a good idea to mention that any unencrypted version of the key needs to be protected from viewing by other users (setting its permissions correctly).
--[[User:Mister Magotchi|Mister Magotchi]] 05:07, 17 March 2012 (EDT)
; It is done. Thanks. Close. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 04:28, 7 April 2013 (UTC)
== Using SSL ==
== Using SSL ==

Revision as of 13:47, 29 August 2013

Be advised to set "allow_url_fopen" to "On" in /etc/php/php.ini in order to upgrade/update Wordpress properly from the admin panel. (does this info belong here?) --Rataxes 14:13, 23 July 2009 (EDT)

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)

hmm.. doesnt mysql come in /usr/lib/mysql niot /var/lib/mysql as directed?? - ScriptDevil

Split this article

I hope this is what the page is for.

In my opinion setting up LAMP should not contain detailed information about how to set up parts of LAMP. It would be cleaner to only explain how to bring these parts to work together. Especially because of the explanation's integrity. Further more because then users will be able to find a standalone HOWTO for setting up these parts. For example you don't have to read through this page order to get MySQL working. Because of the mentioned integrity I think it would be best to create independent HOWTOs on how to setup MySQL, php and maybe even apache and refer to them from this page.

I've started with MySQL because I know how to setup it and because some parts in this HOWTO are not needed any more and because of that are just confusing.

harlekin 21:13, 13. Mai 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)

PHP: do not use mime type application/x-httpd-php

I would recommend deleting this advice from the article:

"Add this line in /etc/httpd/conf/mime.types:

application/x-httpd-php		php php5"

Isn't the whole point of PHP to run it on the server side and turn it into text/html? Setting the MIME type as suggested here causes Firefox, for example, to offer to download the file or open it (in Notepad!!), instead of just presenting the HTML page.

--gdweber 2012 June 30

linux is software?

first sentence: combination of software linux, apache, mysql, php. i understand apache, mysql, and php, but i was under the impression that the linux kernel is not a form of software, more like a generic driver. mojangsta (talk) 23:36, 16 August 2013 (UTC)

Drivers are software, see Wikipedia:Software and its linked article Wikipedia:System software: code that runs on computer hardware is software. The term "software application" is probably what you are mistaking this to mean. Ndt (talk) 02:38, 17 August 2013 (UTC)