kpreid: (Default)
Kevin Reid ([personal profile] kpreid) wrote2009-12-20 08:58 pm

Improving my web presence, out of necessity. Also, Apache configuration and LJ OpenID

A machine I used to use to host some web services, bots, and repositories became no longer accessible from the Internet, as a result of which I've had to move what I was serving from it; some to switchb.org, some to personal machines.

I took the opportunity to clean things up a bit, as a result of which I now have better backups, more polished services, and know a little bit more about configuring Apache — though not as much as I perhaps should.

  • My Subversion repositories are now served over HTTP, and therefore browsable; and they are now backed up daily (using svnsync triggered by a cron job) to my laptop, and thence to all its backups.

    (I wasted several minutes on remembering that cron will ignore the last line of a crontab file if it doesn't end with a newline; after listening to me grumbling about this, someone made a suggestion to end the file with a comment, so that the last line is harmless whether ignored or not, and also reminds one of the issue.)

    If you have a working copy of one of my repositories (E-on-CL, E-on-JavaScript, MudWalker, Den, etc.), here's a guide to the changed URLs.

  • My other Tahoe-LAFS volunteer grid storage node is now residing on a machine on my home LAN.

  • Finally, some simple data-querying web services I wrote for Waterpoint's word games have now been moved to switchb.org; I also took the time to prettify their URLs (no cgi-bin or .cgi) and write documentation.

I haven't yet gotten to working on the bots, darcs repositories, or miscellaneous other stuff I had there.

(Pondering moving my blog over to switchb.org as well so as to not have ads, especially now that I found I can still have LJ-friends by way of OpenID. (Hm, but reading friends-locked posts over RSS might not work since there's no username+password for LJ to accept. Anyone have experience with that situation?))

Apache configuration questions:

  1. If I have multiple variants of a document (e.g. foo.html foo.pdf foo.txt) handled by MultiViews, so the canonical URL of the document is extensionless (“foo”), how do I properly control the default variant to serve in the event that the client does not express a preference via the Accept header? (Without doing so, I found that it would serve the .txt version, whereas I would prefer the HTML.) All that I found that worked was to create a type map file named “foo” with quality values, and force it to be interpreted as a type map using <FilesMatch>. This seems kludgy to me.
  2. What is the right way to serve CGIs, not in a designated cgi-bin directory, and without any .cgi extension in the URL? I initially tried to apply mod_rewrite, but I couldn't get it to work such that /foo internally contacted foo.cgi whereas /foo.cgi redirected to /foo. I resorted to another <FilesMatch> explicitly listing the name of each CGI and doing SetHandler cgi-script.
  3. What is the right way to handle “testing” vs. “deployment” configurations, where the relevant Directory, Location, etc may be different depending on which server or subdirectory the site is set up on? I see that one may use environment variables — should I just set up variables containing the path prefixes for the particular host before including the generic configuration file?

sex dating in kerens texas -free sex dating no membership

(Anonymous) 2017-02-11 02:45 pm (UTC)(link)
[url=http://realwmz.ru/dm][img]http://realwmz.ru/2211.jpg[/img][/url]

sex dating in oak grove louisiana adult dating personals florida best adult dating websites bbw sex dating sex dating in bolivar mississippi sex dating in glynn louisiana anal sex dating adult dating site uk sex dating in bloomington indiana sex dating in irvington illinois sex dating in beatty mississippi

sex dating in white hall alabama

[url=http://adult-dating-free-online.ru/3334263.htm]sex dating in wymondham norfolk[/url]

http://free-to-use-adult-dating-site.ru/0445329.html

[url=http://barnsaga.se/index.php?option=com_k2&view=itemlist&task=user&id=4341]pujcky online bez registru VelkГ© BГ­lovice - jan svoboda pЕЇjДЌky[/url] [url=http://www.deltaenergies.com/index.php?option=com_k2&view=itemlist&task=user&id=1340572]pЕЇjДЌka v komerДЌnГ­ bance - modrГЎ pЕЇjДЌka recenze[/url] [url=http://www.hibowties.com/index.php?option=com_k2&view=itemlist&task=user&id=27400]personals adult dating - free adult dating wrb sites[/url] https://goo.gl/4IPGBe [url=http://www.solopellico3p.com/index.php?option=com_k2&view=itemlist&task=user&id=116480]debata o poplatku 1kДЌ za pЕЇjДЌku - nebankovnГ­ pujcky online Krupka[/url]


nemokamai pažintys hazleton teen seznamka felnőtt szingli társkereső szóbeli dél­dakota jauniešu iepazīšanās vietnes preto branco locais de reunião de namoro dewasa kencan seks di dayton montana dating­service für Senioren online datazio helduen hegoafrikan aikuisten dating ilmainen jäsenyys yahudi situs kencan người lớn hẹn hò wisconsin randki dla dorosłych swingers site de réseau social de rencontres pour adultes top kencan seks dewasa situs juu dating sites rhad ac am ddim oregon yn dyddio i oedolion sawawa intim bobogohan Kanada flört brownsville Texas dating za odrasle line dating za odrasle pang­adultong pakikipag­date sekswal na pakikipag­date site eksplisitt adult dating storbritannia oedolion rhyw dyddio yn hokendauqua pennsylvania cardiffi täiskasvanud dating adult dating kyvné oregon