[10:07] <A-Kaser> poypoy
[01:19] <gapz> 'lo
[01:21] <screeb> plop
[02:32] <studprog> hi all ... currently i'm working on making a network based install (booting via PXE) ... i've got a system running that 1) reads a preseed file and 2) installs a ubuntu dapper minimal system ... my problem is that i can't seem to making it install ubuntu-desktop ...
[02:33] <studprog> after base installation, it installs GRUB  - and thereafter reboots
[02:33] <fabbione> studprog: and why would you do that, when there is one already?
[02:33] <studprog> fabbione: i have to reply later -- my boss has just called for a admins meeting ...
[02:35] <fabbione> you also want to ask in #ubuntu .. this isn't a support channel
[08:57] <Stian> Hey, ok. I've been using Ubuntu 6.06 server for a while, and was just made aware that with a small script and little effort, things like /etc/passwd can be disoplayed directly into the browser. What gives? How can I stop apache from misbehaving?
[08:58] <SanketMedhi> Stian: misbehaving?
[08:58] <nihilocrat> well
[08:58] <Stian> yeah
[08:58] <nihilocrat> you can put an .htaccess file in /etc, but
[08:58] <Stian> it's showing off sensitive information
[08:59] <nihilocrat> You really shouldn't make /etc web-accessible
[08:59] <nihilocrat> is your docroot like / or something?
[08:59] <Stian> exactly
[08:59] <Stian> It's all default
[08:59] <nihilocrat> bizarre
[08:59] <nihilocrat> the default is /var/www/apache-default/
[08:59] <SanketMedhi> the default is /var/www
[08:59] <nihilocrat> oh well
[08:59] <SanketMedhi> :)
[09:00] <nihilocrat> I was thinkign of the default vhost
[09:00] <Stian> eeeh
[09:00] <nihilocrat> sorry
[09:00] <Stian> yeah
[09:00] <Stian> I am using vhost
[09:00] <Stian> anywhoo
[09:00] <Stian> ServerRoot "/etc/apache2"
[09:00] <Stian> what's up with that??
[09:00] <nihilocrat> I believe that's where it looks for its config files
[09:00] <nihilocrat> DocumentRoot is the one you should worry about
[09:00] <Stian> I cannot find any other Root or root in apache2.conf
[09:00] <Stian> hmm
[09:01] <Stian> oohhh
[09:01] <Stian> nooohhh
[09:01] <SanketMedhi> Stian: can you please explain what you want to do?
[09:02] <Stian> hang on
[09:02] <SanketMedhi> ok
[09:02] <Stian> I need to have apache not display things like /etc/passwd. Now, I added vhost alias things myself, I guess I should add a document root for the <VirtualHost>
[09:02] <Stian> or?
[09:03] <Stian> I only have VirtualDocumentRoot
[09:03] <Stian> all my sites are "configured" with vhost_alias
[09:04] <SanketMedhi> !apache2
[09:04] <SanketMedhi> !apache
[09:04] <SanketMedhi> loss
[09:06] <nihilocrat> haha
[09:06] <SanketMedhi> :P
[09:06] <nihilocrat> yes, you should have a DocumentRoot entry in your vhost configs
[09:06] <nihilocrat> I've never used VirtualDocumentRoot and I'm not sure what it does :P
[09:07] <SanketMedhi> Stian: In apache2 your virtual hosts exist in cd /etc/apache2/sites-enabled/000-default
[09:08] <Stian> hmm, the only config i've made is in apache2.conf :p
[09:08] <SanketMedhi> you don't really have to touch that
[09:08] <Stian> I think I removed the loading of sites-enabled/* as well
[09:08] <SanketMedhi> :O
[09:08] <SanketMedhi> I think you should read the wiki for apache2
[09:09] <Stian> NameVirtualHost *
[09:09] <Stian> <VirtualHost *>
[09:09] <Stian>   UseCanonicalName Off
[09:09] <Stian>   DocumentRoot /var/www
[09:09] <Stian>   VirtualDocumentRoot /var/www/%0

[09:09] <SanketMedhi> http://help.ubuntu.com/community/
[09:09] <SanketMedhi> I dunno if that will work in apache2
[09:09] <Stian> it will
[09:09] <Stian> it does
[09:09] <SanketMedhi> ok
[09:09] <Stian> at least for vhost_alias, the DocumentRoot thing didn't change anything
[09:09] <Stian> I use this for 8 or so domains/hosts
[09:10] <Stian> okay, I'll check the wiki
[09:10] <SanketMedhi> ok
[09:10] <Stian> and move the vhost to the assigned directory, and so on :)
[09:10] <Stian> thanks for your inputs
[09:11] <SanketMedhi> np I was hardly of any help
[09:11] <Stian> Well, I guess that's what I get for hardly beeing able to explain my problem :P
[09:12] <SanketMedhi> :)
[10:40] <gapz> bye !