Talk:Apache

perl & cgi
i know perl and cgi on other systems where its not cut out, well enough to setup webapps, not well under gentoo. could someone more knowledgeable set the perl & cgi stuff please? — The preceding unsigned comment was added by 666threesixes666 (talk • contribs) 17 October 2013

cgi example
this is what i have so far. i did use cgi examples on the bugzilla wiki. i need to smooth some things out on that page and mark it requested for translation. the bugzilla shows how to assign cgi execution for arbitrary directories, and i think that is an essential function of apache that should be added..

http://127.0.0.1/cgi-bin/test.pl

and now you're a cgi pro

666threesixes666 (talk) 19:33, 20 December 2013 (UTC)

site building tips
i think its suffice to say that with several hosting programs, we should have some sort of reference internally of site building tips.

like example.com/favicon.ico must be 16x16 & exported by [gimp] as a mswindows icon format for a website icon in firefox tabs / bookmark icon. http to https migrations. locking down websites with fail2ban / sshguard dynamic firewall programs.666threesixes666 (talk) 04:47, 7 December 2013 (UTC)

blurry lines
these ideas / subjects should probably have gw 2 gw inter wiki links. — The preceding unsigned comment was added by 666threesixes666 (talk • contribs) 8 December 2013

email
email will hello as localhost.localdomain if not added before local host statements. ie

/etc/hosts 10.10.12.12 www.example.com example.com 127.0.0.1 localhost localhost.localdomain

works....

still i get my emails spammed because of no ssl on my site. my forums looking pretty good though. mybb has mad powers and mad plugins. im aware of this from centos hosting problems with that, and phpmail im still having problems with emails being sent out as apache@www.example.com & the documents here are simply lacking in these regards.

666threesixes666 (talk) 23:22, 21 December 2013 (UTC)

Enabling php support
I don't know if this is due to some misconfiguration of my box. Can somebody confirm it ? For me this file doesn't exist and the "bug" can be reproduced.

Jaaf (talk) 8 March 2014


 * also reproducible here. it used to pull in over a year ago idk what happend, its in main page though so i suggest clearing this off of the talk page & instead hitting the bugzilla with it.666threesixes666 (talk) 19:10, 21 March 2014 (UTC)

mod_rewrite
mod_rewrite is notoriously difficult to use. we need to get some tutorials up in here. php web apps dont index well in search engines with out seo urls generated by mod_rewrite. i can verify mines loaded under php info, running??? i have no method to test its functionality. all i know is it says loaded in php info, and gives me ugly php urls with out rewriting at the end. i lost my server that i had the answers on. 666threesixes666 (talk) 23:06, 29 May 2014 (UTC)

suexec example required
Havent figured out yet how suexec works so it will be useful if someone could provide an example to show how to setup a multi user apache system where every domain runs in its own user.--Cj.wijtmans (talk) 12:19, 26 January 2015 (UTC)

- build with suexec useflag

- enable -D SUEXEC

- Put the SuexecUserGroup directive in your vhost

- chmod /var/www/[vhost] to user:group

Note: if you enable suexec you have to run php with php-cgi(is this php-fcgid ?) or php wont have the correct permissions. Also you have to give +x permissions to all php files.--Cj.wijtmans (talk) 12:19, 26 January 2015 (UTC)

config example is for apache 2.2, but apache 2.4 is stable now
the following changes should get the file at least into a working state for more information: https://httpd.apache.org/docs/current/upgrading.html

Is there someone with a bigger know-how who can check the example config?

--StefanLangenmaier (talk) 02:18, 27 May 2016 (UTC)