[00:00] a virtualhost defines a specific site [00:00] so it's like a copy of the default ocnfig but specific to say, foo.example.com [00:02] ok [00:02] http://pastie.org/private/6rphsivbqzumf6zzjzhlg [00:02] so if you set your website's url (that resolves to your server's IP, if you have one) to ServerName (and ServerAlias which is optional) [00:02] and mkdir /home/dr-spangle/logs [00:03] that ought to Just Work (tm) :) [00:04] if you only intend on accessing your HTTP server via your IP as per http://81.178.143.10 , that might be trickier, as the default vhost will probably capture that request. unless you put 'ServerName 81.178.143.10' in your vhost [00:04] boy i must be confusing the crap out of you :) [00:04] a bit [00:05] going to have to configure my dr-spangle.is-a-geek.com dyndns thingy :/ [00:11] ok, apparently that's gone or something? [00:14] ok [00:14] got dr-spangle.dyndns.org [00:14] changed all the stuff that said example.com to dr-spangle.dyndns.org on that vhosts config file [00:16] and made the directories [00:16] now i restart apache [00:16] :: Starting Apache Web Server [BUSY] Warning: DocumentRoot [/etc/httpd/docs/dummy-host.example.com] does not exist Warning: DocumentRoot [/etc/httpd/docs/dummy-host2.example.com] does not exist [DONE] [00:17] /etc/httpd/docs ? [00:17] that doesn't look right as a DocumentRoot.. [00:18] it doesn't [00:21] I don't have a clue what it's doing or why [00:21] dummy-host.example.com sounds like some example config file somewhere [00:21] it does? [00:21] well, it doesn't sounds like something you wrote :) [00:21] especially since you don't recognise it [00:22] /etc/httpd/docs sounds like it's documentation? [00:22] anyway, your site still gets a 403 at http://dr-spangle.dyndns.org [00:22] so i'm out of ideas.. possibly permissions issues. or pastebin the virtualhost config you made [00:24] http://pastebin.com/7rzpPgJp [00:24] and do you have an index.html in /home/dr-spangle/http/ ? [00:25] nope, but just put one there, no change [00:25] can you do `ls -al /home | grep dr-spangle` [00:25] i want to see the permissions on the home directory [00:26] [dr-spangle@hallo-server http]$ ls -al /home | grep dr-spangle [00:26] drwx------ 4 dr-spangle users 4096 Jul 15 01:02 dr-spangle [00:26] right [00:27] so there's the problem I think. [00:27] apache runs under a specific usre, usualy www-data or 'apache' [00:27] apoache is being told 'look inside this guy's home directory to server the files' [00:27] but the 700 permission on the home directory says 'only dr-spangle can go in here' [00:27] ah, i think the user is called http, it told me to make a user called that [00:27] so apache goes 'well, can't see inside there, you're forbidden' [00:27] how do i make the http user able to see in there? [00:28] chmod 755 /home/dr-spangle would do it. but it's chmod 700 as a security precaution so that only you (dr-spangle) can see stuff in there. [00:28] up to you if you want to remove that security. [00:28] that's probably why people put sites in /srv/httpd [00:28] which would be chmod 755 already but no user-sensitive files in there, just websites. [00:29] if you are the only one on the server, maybe you don't care as much, and can chmod 755 the home dir [00:29] also make sure the 'http' subdirectory in /home/dr-spangle is also chmod 755 [00:29] done [00:30] wow, still 403 [00:30] what are the permissions on index.html [00:30] just chmodded to 755 [00:31] well, i'm totally out of ideas now :) this server's breaking all the rules that make sense [00:32] maybe that virtualhost config is being completely ignored, just too hard to tell. [00:34] i hate this thing so much [00:34] it worked fine before [00:34] had over 550 days of uptime [00:34] then my dad accidently unplugged it and it couldn't stay online for a day before kernel panicing [00:35] so i reinstalled and can't set it back up :P [00:37] if you run 'apache2ctl -S' do you get anything other than 'command not found' ? [00:38] wow, it's possible to read current fidonet in a usenet news reader. who knew? [00:40] command not found [00:41] hmm [00:47] would it be best to just get another distro [00:50] try apachectl -S [00:50] * mig5 not used to arch.. [00:51] that command says things [00:51] also, for some reason now, if i log into su, i get an error [00:51] how is everything breaking [00:54] ok, that command's output [00:54] http://pastebin.com/pfA94hHn [00:56] right so that virtualhost you created earlier, I don't think it's even being included [00:56] i don't know what those dummy vhosts are, presumbably examples somewhere [00:56] you should put your virtualhost in /etc/httpd/conf/extra/httpd-vhosts.conf and maybe remove the other ones that are in there [00:56] and restart apache [00:57] don't know about your su error (you didn't say what the error was :) ) [00:58] I fixed the su error [00:58] not sure what it was, but it's gone now [00:59] ah... [00:59] I'm a pillock methinks [01:00] I put my vhost in /etc/httpd/conf/extra/httpd-vhosts-vhosts.conf, rather than /etc/httpd/conf/extra/httpd-vhosts.conf [01:02] well now it works :P [01:02] now i need to get php and mysql working [01:03] oh, now it's not working [01:03] ok, only works with an index.html there [01:03] that's ok [01:03] works for me. [01:03] yeah [01:04] ok, that's fine [01:14] yay php working [01:14] thanks massively for the help :) [01:16] and gd working [01:23] and mysql working [01:23] yay [01:39] yay irssi [01:39] so much better than mibbit [02:04] please don't say i formatted this drive.. i can't mount it :/ [02:06] i'm sure i wouldn't be so silly to format a drive i just backed up to.. would i? [02:11] what does dmesg say? [02:11] if so, testdrive is amazing at recovering stuff from drives [02:16] after trying mount -t ext2 /dev/sdb1 /ext_hdd and repeating that with ext3 and ext4, dmesg says this [02:16] [28853.233960] EXT4-fs (sdb1): VFS: Can't find ext4 filesystem [02:16] [28857.657225] EXT3-fs (sdb1): error: can't find ext3 filesystem on dev sdb1. [02:16] [28861.014069] EXT2-fs (sdb1): error: can't find an ext2 filesystem on dev sdb1. [02:17] is there a way to see what filesystems are on a device? [02:17] sudo fdisk -l [02:17] maybew [02:17] -w [02:18] maybe not [02:18] I would highly recommend testdrive then [02:18] it works for just this kind of thing [02:18] /dev/sdb1 2048 976773167 488385560 83 Linux [02:18] Device Boot Start End Blocks Id System [02:19] from fdisk -l [02:21] so is this a data drive only, or did it have system files on it? [02:21] it was data only [02:21] I copied over files i wanted to keep [02:21] mostly tarred [02:28] gah, i'm so useless at everything :P [02:29] this is what you want: http://www.cgsecurity.org/wiki/TestDisk [02:29] (don't know why I kept calling it testdrive) [02:29] ah, that'll be why i couldn't find it on google [02:30] it's a curses-style gui, so it'll work just fine in a console [02:31] ok, installed testdisk [02:32] ok, running it [02:34] not quite sure what i'm doing [02:34] you want analyse, and then quick search [02:35] hopefully you see your partition listed there [02:35] if you do, press down until you get to it [02:35] then press P to list the files it sees [02:37] yay [02:37] it's copying the files now [02:37] thank you :) [02:37] glad to hear it worked [02:38] so does that mean i formatted it after backing up onto it? just checking how stupid i am here [02:38] if you saw a D next to your partition number, the answer is most likely [02:38] there's an excellent explanation of all the menus on their website [02:38] why would i do that [02:39] if you have a burning desire for more knowledge, you might- otherwise, don't worry and be happy [02:40] thanks for helping [02:41] how do i even manage to leave the house with this level of stupidity [02:42] i had better get to sleep while this thing recovers data [02:42] don't worry- I can share your pain here [02:42] I managed to recover the data, and then decided to try to fix the drive, which had some minor corruption when I started [02:44] after following a guide from an enterprise distro's site on a similar issue, there wasn't anything left (the man page all but said here be dragons for that option) [02:55] ouch [03:07] night all [05:24] http://apple.copydesk.org/uploads/2011/02/110203GlouchestershireHeadline.jpg [05:36] brb attending a girls' school [05:37] afk getting there before you [05:38] OK, shooting for fucking inbox zero tonight. [05:39] SketchCow: does Zero know? [05:40] Zero's gonna learn [05:40] http://www.archiveteam.org/index.php?title=Rescuing_Floppy_Disks needs another round. [05:41] that reminds me -- I've got a bunch of Bernoulli disks at my parents' house [05:42] no idea if they're still readable, but it'd be fun to try to get the drives to talk to a modern machine [05:43] Yeah, gotta work on that. [08:37] http://www.reddit.com/r/IAmA/comments/ipnci/iamthe_servier_engineering_lead_at_foursquare_ask/c25rb0g "At foursquare we very much believe that it's not our data, but your data. We're just temporary custodians, and we have a responsibility to make it as easy as possible for you to pull that data back out in a usable format should you ever choose to do so." [08:37] they seem to expose it reasonably well, fwiw [08:38] I am desperately on the inbox zero thing. [08:38] how is it going? [08:38] Down to 40 from today's high of 80 [08:38] The floppy thing was what destroyed it. :) [08:38] nice [08:39] I've been at inbox 40 for a while, it's a typical high for me. [08:39] I was at 3 a month or two ago [08:39] those 3 are still there. [08:40] Yeah, it's when it's action items. [08:40] two are finding and mailing things, the other is updating the signature on my voter registration [08:42] Oldest one: August 2010 [08:43] I'm going to start moving friendster stuff to final staging home. [08:43] Going after things from bottom to top, starting to build our sets. [08:43] Fie to the people who would combine two different ranges as one set, by the way. [08:46] yeah you win on oldest one. I've got an email thread going where we each wait 2+ years before replying [08:46] started in 2004. [08:46] but it's the other guy's turn now [08:55] I'm now in the process of finding doubles with the google video. [08:55] I.e. stuff archive.org already has [08:55] Keeping our metadata, of course. [09:29] the kryoflux (and related software) can recover data that would normally be unreadable, due to such things a media rotation jitter [10:15] Holding fast at 40! [10:15] People are mailing me! [10:29] Yep, now the system is borked. [10:29] I am deleting 17,000 twitter join messages the cat got recently. [13:07] SketchCow: heh [13:11] Down to 38 mails. [13:11] Which is yeah, not much since 4 hours ago, but I just fought off a bunch of incoming mail [13:11] It's a torrent [13:13] Some of this is "please write us an article" or "please fill this out" or "I have sent you a pile of files" [13:22] and once in a while "I have sent you several crates of documents" [13:23] I bet your daily email volume is on the upswing too [13:23] SketchCow: btw, I need to do some uploads [13:42] You have a slot, you know. [13:43] actually, i am a guy [13:45] aww, mail bounced back for http://artifacts.textfiles.com/+44/Innocent%20BBS/BBS%20Ad%202.txt :( [13:49] freeserve doesn't exist anymore apparently [13:50] oh wait, it does, but neither http://freeserve.co.uk/ nor http://www.freeserve.co.uk/ works [13:56] http://archiveteam.org/index.php?title=Rescuing_Floppy_Disks is coming along. [14:03] Thumbs up [14:13] 31! [14:26] Go go! [14:30] http://arstechnica.com/science/news/2011/07/study-why-bother-to-remember-when-you-can-just-use-google.ars [14:31] "The results from all four experiments suggest that people expect computerized information to be continuously available, and actually remember less when they know they’ll have access to it later. We also seem to remember where we can find information instead of the information itself." [14:34] *bookmarks study* [14:34] wait, what did it say again? [14:34] :P [14:54] Don't worry, you'll know where to find it! [14:54] :P [14:59] mmh, it's neat using liveweb.archive.org at stuff I read and find like something that should be saved [15:01] wonder if they get a lot of new material this way [15:01] into the Wayback machine, that is [17:48] http://blogs.loc.gov/digitalpreservation/2011/07/it-takes-a-village%E2%80%A6to-archive-the-internet/ [17:48] I can't say the article is especially useful, but I enjoyed the title: [17:48] It Takes a Village...to Archive the Internet [18:49] man, i have been thinking how add links on Wikipedia to all the info and docs of Internet Archive [18:50] (un)fortunately, wikipedia is on the top results, and adding links to IA can boost visits [18:51] of course, on IA there is zillions of ideas for new Wikipedia articles [18:51] it is win-win [18:52] Wikipedia doesn't like the IA all that much [18:52] just so you know [18:53] Of course not. IA doesn't delete things. [18:53] LOL [18:54] n1. [20:17] SketchCow: nemo_bis is uploading wikidumps to IA http://www.archive.org/search.php?query=subject%3A%22wikiteam%22 , are you going to add them to archive team collection? http://www.archive.org/details/archiveteam