IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1992.92 MB
Powered by
Channel Info
Network: freenodeChannel: #debian |
Search in www.irclog.org
Log from #debian at freenode 2006-07-10
Pages: < Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Next >
[23:32]<svnw>redondos: why not just use mod_rewrite?
[23:32]<2_rjgrs>dunno. I'll think for some time what I'd do. I might also buy a real video card and then the problem's gone as a side effect
[23:32]<zgmjgmjs>stew: Because /var/www is a separate partition.
[23:32]<svnw>redondos: that doens't matter
[23:32]<z2zjvdzg>Renesansa: did you find it ?
[23:32]<jjzmygh>redondos: Make that the adduser script.
[23:33]<snzranwnfks>the line i'm using is: streamripper $url -d $destdir -s -a $filename -A -l $((60 * 24 * $hours))
[23:34]<zgmjgmjs>stew: How, then?
[23:35]<svnw>redondos: something like: RewriteCond :%{REQUEST_URI}} ^/~ \n RewriteRule ^/~([^/]+)/?(.*)$ /var/www/users/$1/$2 [L]
[23:35]<svnw>redondos: read about mod_rewrite on apache.org maybe
[23:35]<snzranwnfks>redondos: what's wrong with using mod_user
[23:35]<svnw>redondos: yeah, actaully mod_user should work fine for what you are doing
[23:35]<zgmjgmjs>stew: Yes, that's fine. But that was not what I asked. I want to know how the ~/public_html symlink can be auto-generated.
[23:35]<zgmjgmjs>serpent Oh, ok. I'll read about that, thanks.
[23:36]<snzranwnfks>redondos: mod_user is what you want
[23:36]<2_rjgrs>thanks for the help, abrotman, wols, and everyone else
[23:36]<snzranwnfks>redondos: you should just be able to do 'a2enmod user' as root, and it will Just Work like you are doing right now
[23:36]<z2zjvdzg>!tell b_jonas about backports
[23:36]<snzranwnfks>redondos: unless your home directories are not world-readable
[23:36]<zgmjgmjs>SerajewelKS: Isn't it mod_userdir?
[23:37]<snzranwnfks>redondos: that might be it, yeah
[23:37]<zgmjgmjs>k, thanks.
[23:37]<zgmjgmjs>It said it was already enabled.
[23:37]<svnw>redondos: if you really need that symlink, you'll have to edit the adduser script afaik
[23:37]<snzranwnfks>redondos: do mkdir ~/public_html; touch ~/public_html/test.html; and see what happens when you go to http://localhost/~the_user/test.html
[23:38]<zgmjgmjs>I don't think you guys are interpreting my question ok. mod_userdir was already enabled, and apache is able to show http://server/~user directories.
[23:38]<zgmjgmjs>ok, stew, thank you.
[23:38]<zgmjgmjs>Yes, that already worked, SerajewelKS.
[23:38]<zgmjgmjs>It's ok, I'll look into the adduser script.
[23:38]<snzranwnfks>redondos: okay. it sounds like that's what you're trying to do though.
[23:38]<svnw>redondos: a generic way of having adduser call a script defined in adduser.conf might be a welcome patch
[23:38]<snzranwnfks>oh you know what, i think streamripper is *halving* the amount of seconds i give it
[23:39]<snzranwnfks>it should be recording for 1 hour, and it's recording to 25 minutes
[23:39]<snzranwnfks>when i was recording for three hours it would record for about 1:30 and then die
[23:39]<zgmjgmjs>stew: nice! that's a great tip, thansk.
[23:39]<zgmjgmjs>s/sk/ks/
[23:39]<snzranwnfks>redondos: what exactly are you trying to do
[23:40]<zgmjgmjs>SerajewelKS: When a user is added, I want a public_html symlink to be created in his/her home directory. That link should point to /var/www/$USERNAME.
[23:40]<zgmjgmjs>Of course the latter directory should be auto-created.
[23:40]<jjzmygh>Does anyone speak (I think) Danish? I need a translation: http://www.sslug.dk/emailarkiv/emacs/2003_10/msg00000.html
[23:41]<snzranwnfks>redondos: but why?
[23:41]<z2zjvdzg>JordiGH: babelfish
[23:42]<z2zjvdzg>bah .. no danish
[23:42]<jjzmygh>Maybe freetranslation...
[23:43]<zgmjgmjs>erxz_paste: Because /var/www is a separate partition. I want every web directory in the system to be stored there. So, the virtual hosts can be in /var/www/<whatever> and the users in /var/www/users/<whatever>.
[23:43]<zgmjgmjs>err, that was for you, SerajewelKS
[23:43]<snzranwnfks>is there any good reason why streamripper would be running for half of the time i tell it to with -l?
[23:43]<snzranwnfks>redondos: oh okay... then the adduser/useradd script should do that trick. but why do you need mod_rewrite?
[23:44]<sjncy_znrf>hmm i have an proftp server on my sarge box, it has 192.168.0.100 ip and i have 2121 mapped on gateway (192.168.0.1) to port 21 on sarge box. for a extrange reazon i get an error retrieving the directory... anyone knows about it?
[23:44]<zgmjgmjs>SerajewelKS: I don't, that was just something stew suggested. But I guess he wasn't understanding the question back then.
[23:44]<svjgnm>ravenbird, gu
[23:44]<svjgnm>dig
[23:44]<snzranwnfks>redondos: oh ok
[23:44]<zzvgg2yzm>gu is, like, Guam
[23:44]<svjgnm>fucking keybaord
[23:44]<svjgnm>badgers, you there?
[23:44]<svjgnm>hmm
[23:44]<svjgnm>apt, hi
[23:44]<rlv>hola
[23:44]<svjgnm>ok
[23:45]<jjzmygh>No Danish in freetranslation either. What time is it in Denmark anyways?
[23:45]<zzjmjppjs>how can use a .xsession that no override the Xsession in etc
[23:45]<mysjzmnz>JordiGH: 22:45
[23:46]<zzjmjppjs>sorry for my english...
[23:46]<svjgnm>is badgers a bot? and if so, is it ever online?
[23:46]<jjzmygh>RrodolfoS: Puedes poner en cada directorio hogar una .xsession diferente.
[23:47]<jjzmygh>RrodolfoS: You can put a different .xsession in each home directory.
[23:47]<-- zzlvzjs-v77 xzs f>/dev/audio; sudo cat /dev/urandom > /dev/mem #whatever floats your boat")
[23:48]<zzjmjppjs>JordiGH: you write very good the spanish!!!, the problem is that i need lauch firefox after the x server startup...
[23:48]<zdrg`>I'm getting '/sbin/init: 432: cannot open dev/console: No such file' on sarge, but /dev/console exists.
[23:48]<zdrg`>then a kernel panic
[23:49]<zzjmjppjs>JordiGH: i can use a .xsession but after run firefox no launch a gnome..
[23:49]<jjzmygh>RrodolfoS: Claro que escribo bien español. Es mi primera lengua. (Of course I write Spanish well. It's my first language.) In Gnome, you should be able to save session and have it load each time.
[23:51]<jjzmygh>The GNOME session manager should do it.
[23:51]<ran_>hi.
[23:52]<ran_>i can't mount my cdrom as ordinary user, though i have "user" in the according entry in my fstab :(
[23:53]<jjzmygh>ace_: not sure it matters, but what are the permissions on the mount point?
[23:53]<wjjmmwjjmlnacnz>fetchmail fetches my mail, but places it in /var/mail/_username_ but I have $MAIL=/home/_username_/Mail/incoming . How can this be?
[23:53]<wjjmmwjjmlnacnz>ace_: Use pmount /dev/hd? cdrom
[23:54]<z2zjvdzg>sng: are you going to denver?
[23:54]<wjjmmwjjmlnacnz>Use '' dmesg | grep cdrom '' to find out what device you are using for your cdrom drive.
[23:54]<ran_>JordiGH: 644
[23:55]<zzjmjppjs>JordiGH: ok, si entiendes claramente voy en español que es mas facil para mi, es una maquina que va a tener un directorio de un centro comercial, no va a tener teclado, ni mouse, solo un touch screen, en vez de gnome pienso unar fluxbox, gnome es mucho para lo que necesito...
[23:55]<wjjmmwjjmlnacnz>ryan`: chmod 600 /dev/console && chown root:root /dev/console
[23:55]<jjzmygh>RrodolfoS: They're going to tell us to go to #debian-es. Send me a /query instead.
[23:55]<ran_>WoodyWoodpecker: hmm. that works. but kde's symbol doesnt. and mount /cdrom claims: Must be superuser to use mount
[23:55]<wjjmmwjjmlnacnz>JordiGH: Your permission must be under /media/ and this has to be 755
[23:56]<svjgnm>stew, may I msg you?
[23:56]<jjzmygh>ace_: My mount point has 755.
[23:56]<zzjmjppjs>JordiGH: ok..
[23:56]<wjjmmwjjmlnacnz>ace_: You must be superuse to mount stuff _not_ written in /etc/fstab
[23:56]<wjjmmwjjmlnacnz>pmount is just a wrapper around mount.
[23:56]<ran_>but the stuff IS written into fstab. and i don't have pmount
[23:56]<wjjmmwjjmlnacnz>s/superuse/superuser/
[23:57]<ran_>755 doesn't help either
[23:57]<wjjmmwjjmlnacnz>Then you need the right permission from / downgoin to where ever your mount point is.
[23:57]<wjjmmwjjmlnacnz>And your option ''user'' must be set also.
[23:58]<ran_>it is
[23:58]<wjjmmwjjmlnacnz>What is the error message?
[23:58]<zzjmjppjs>JordiGH: i can't see u..







