Talk:Apache

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. - build with suexec useflag - enable -D SUEXEC - Put the SuexecUserGroup directive in your vhost Note: if you enable suexec you have to run php with php-cgi or php wont have the correct permissions.

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? this is what i have so far. 666threesixes666 (talk) 19:33, 20 December 2013 (UTC) 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..

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

and now you're a cgi pro

blurry lines
these ideas / subjects should probably have gw 2 gw inter wiki links.

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)

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)