jason | 3 Dec 16:25 2005

userspace utilities

I am working on getting tux to run on an appliance type device, but 
I'm having a few issues. I have googled all over the place and combed 
the archives, but can't seem to find my answer.  Since this is an 
appliance, I don't have room to install redhat. I was able to patch 
2.6.14 with the newest tux patch, but I can't find the utilities to 
actually start tux up (usually referenced as /usr/sbin/tux I 
believe).   Can anyone please point me in the right direction?

--

-- 
Jason
The place where you made your stand never mattered,
only that you were there... and still on your feet
Jorge Nerin | 3 Dec 18:07 2005
Picon

Re: userspace utilities

jason wrote:

> I am working on getting tux to run on an appliance type device, but
> I'm having a few issues. I have googled all over the place and combed
> the archives, but can't seem to find my answer.  Since this is an
> appliance, I don't have room to install redhat. I was able to patch
> 2.6.14 with the newest tux patch, but I can't find the utilities to
> actually start tux up (usually referenced as /usr/sbin/tux I
> believe).   Can anyone please point me in the right direction?
>

Here you go:

http://people.redhat.com/mingo/TUX-patches/

And the manuals live in:

http://www.redhat.com/docs/manuals/tux/

Hope it is what you were looking for.

--
Jorge Nerin
jason | 3 Dec 19:00 2005

Re: userspace utilities

That seems to be the kernel patches, but no user utils.  Perhaps I am on
the wrong path, do I still need the tux binary that usually lives in
/usr/sbin on redhat boxes to start and run tux?  It installed correctly
and shows up in /proc, but I can't seem to connect to it.

-- 
Jason
The place where you made your stand never mattered,
only that you were there... and still on your feet

On Sat, 3 Dec 2005, Jorge Nerin wrote:

> jason wrote:
>
>> I am working on getting tux to run on an appliance type device, but
>> I'm having a few issues. I have googled all over the place and combed
>> the archives, but can't seem to find my answer.  Since this is an
>> appliance, I don't have room to install redhat. I was able to patch
>> 2.6.14 with the newest tux patch, but I can't find the utilities to
>> actually start tux up (usually referenced as /usr/sbin/tux I
>> believe).   Can anyone please point me in the right direction?
>>
>
> Here you go:
>
> http://people.redhat.com/mingo/TUX-patches/
>
> And the manuals live in:
>
> http://www.redhat.com/docs/manuals/tux/
(Continue reading)

Jorge Nerin | 4 Dec 00:11 2005
Picon

Re: userspace utilities

jason wrote:

> That seems to be the kernel patches, but no user utils.  Perhaps I am on
> the wrong path, do I still need the tux binary that usually lives in
> /usr/sbin on redhat boxes to start and run tux?  It installed correctly
> and shows up in /proc, but I can't seem to connect to it.
>
Yes, you are true, this was the URL where they lived, but now it seems
that there are only patches.

Well, you could try to grab the src rpm (from fedora for  example
http://download.fedora.redhat.com/pub/fedora/linux/core/4/SRPMS/tux-3.2.18-4.src.rpm)
and build them manually.

--
Jorge Nerin
Armen Eyal | 7 Dec 21:34 2005
Picon

uri -> file translation

i'd like to have a tux function that would do custom uri -> file translation,
but don't have time learning tux api, checking source code.

can someone write one for me - i'll pay you for it.


Thank You

_______________________________________________
tux-list mailing list
tux-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/tux-list
Johann Burkard | 18 Dec 00:32 2005
Picon

Virtual hosts not working

Hello,

I was just trying to use Tux with virtual hosts. I've set up the following
directory structure:

/www/bla
/www/blorb
/www/blub

So that people requesting www.bla.com would get the content in /www/bla etc.

Now in /proc/sys/net/tux I did

$ echo 1 > virtual_server
$ echo "/www/" > documentroot
$ echo 2 > strip_host_tail

At that point, Tux became almost unresponsive and didn't server any pages.
Did I do something wrong? I monitored /proc/kmsg but nothing showed up
there. I use Linux 2.6.5.

Thanks,

Johann
Johann Burkard | 18 Dec 21:17 2005
Picon

Re: Virtual hosts not working

Hello,

Johann Burkard wrote:
> $ echo 1 > virtual_server
> $ echo "/www/" > documentroot
> $ echo 2 > strip_host_tail

ok, let me rephrase this: Who IS actually using virtual hosts with Tux and
what are the settings?

Thanks,

Johann
Max Helmet | 19 Dec 15:41 2005
Picon

AW: Virtual hosts not working

> I was just trying to use Tux with virtual hosts. I've set up the following
> directory structure:
>
> /www/bla
> /www/blorb
> /www/blub
>
> So that people requesting www.bla.com would get the content in
> /www/bla etc.
>
> Now in /proc/sys/net/tux I did
>
> $ echo 1 > virtual_server
> $ echo "/www/" > documentroot
> $ echo 2 > strip_host_tail
>
> At that point, Tux became almost unresponsive and didn't server any pages.
> Did I do something wrong? I monitored /proc/kmsg but nothing showed up
> there. I use Linux 2.6.5.

Tux removes the preceding www in the hostname ("www.bla.com" -> "bla.com"),
your strip_host_tail statement removes the last two parts of the hostname
("bla.com" -> "").

Regards,
Max
Johann Burkard | 19 Dec 21:37 2005
Picon

Re: Virtual hosts not working

Hello,

Max Helmet wrote:
> Tux removes the preceding www in the hostname ("www.bla.com" ->
> "bla.com"), your strip_host_tail statement removes the last two parts
> of the hostname ("bla.com" -> "").

thanks, that sounded like a good idea. I was trying out setting
strip_host_tail to both 1 and 0, but Tux still became unresponsive instantly
when I set virtual hosting to 1.

What version are you using and are you using virtual hosts?

Thanks,

Johann
Johann Burkard | 21 Dec 13:04 2005
Picon

Tux patch format

Hello,

I was about to apply the newer Tux patches to a new kernel, but patch didn't
accept the file. What format are the patches in now and how can I patch my
kernel sources?

Thanks,

Johann

Gmane