Pfui - 5:42 pm on Feb 15, 2012 (gmt 0)
1.) Well, nine days after our old Linux box died, we're still not back due to ongoing MAJOR snafus -- involving configs, Includes, permissions, missing files -- on the new machine, too many of which I remain at a head-banging loss how to fix.
GOTCHA Set #1 (Linux): A bad, bad restoration with nobody/nogroup permissions turning into account user/group, and massive numbers of files simply not restored (although they exist in backup). I'm still stepping my way through directory after directory trying to figure out what's missing, what needs re-restoring, and what else needs fixing/redoing, including scores and scores of crucial SymLinks.
GOTCHA Set #2 (Mac): Specific to my personal machine, I needed to update Fetch and Little Snitch to be able to access the new Linux box via FTP at all, plus re-set security Keys to be able to access the new box via ssh using Terminal. Each of these updates first involved literally hours of trying to figure out what was wrong, and at which end.
GOTCHA Set #3 (Apache): Broken things galore, from .htaccess Deny from lines for almost all Central and South American CIDRs (go figure) to mod_rewrite "exceeded the limit of 10 internal redirects" to "Options ExecCGI is off in this directory" and "unable to include "/dir/example.js" in parsed file" errors (permissions okay).
As of today, Set #1's still in progress. Set #2's done. Set #3's driving me round the bend because I've GOT to get my main site back up!
2.) My main site, the one with Includes and CGIs and a forum and a Webinator and assorted doodads, has the problems. Includes do not work despite my putting everything Includes-related I could find (after re-re-rereading Apache docs and this forum's and other sites' posts) into its .htaccess and CGI script-running directories (cgi-bin and forum):
AddType text/x-server-parsed-html .html
AddType application/x-httpd-cgi .cgi
AddType application/x-httpd-cgi .pl
AddType text/html .shtml .html .htm
AddHandler server-parsed .shtml .html .htm
## Do not want Indexes: Options Indexes FollowSymLinks Includes
## Do I need the word "Includes" included so many times?
Options FollowSymLinks Includes
Options SymLinksIfOwnerMatch Includes
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
## Is this config-level only?
AddOutputFilter INCLUDES .shtml .html
Because including all of those lines still isn't enough to enable Includes, I suspect there's a sites-available config problem, with the default and/or the main site (despite its Override All x2).
For example, when I test for a non-existent file in /cgi-bin on one of the handful of small sites also on the server (all working), I end up at the custom 404 error page -- for the main site!
3.) Would it help any brave souls here if I included the default and one site-specific config file for your perusal, please? I reckon you'll spot right away what I'm missing/misunderstanding. Note: I do not have root access (not that I'd know what to do with it, other than really mess things up), so I can only test config changes in spurts. All that said --
Help, please? Here, or privately via Sticky or other e-mail, or phone, free or for a fee? Please? Thank you!