[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: TUX keeps forgetting virtual_host



On Sun, Jun 16, 2002 at 02:30:28PM +0200, Jan-Hendrik Heuing wrote:
> Hi !
> 
> I am using RedHat 7.3, and TUX 2.2.7.
> 
> If I use 
> echo 1 > /proc/sys/net/tux/virtual_server
> to enable virtual hosting, anything works fine. I can restart TUX and anything is just working.
> 
> The problem:
> If I restart the server, tux forgets all about what I set up. It switches virtual_server back to 0, and I have no idea why. Is it meant to do that, and I have to enable virtual hosting each time I start the server ?!? I am not quite sure, but I think it worked before in earlier experiments...
proc fs is just unified access to kernel variables,
so after restarting your server you must set up all needed variables.
Simlest way to do it is to add them to /etc/sysctl.conf
f.e. sys.net.tux.virtual_server=1 
> 
> Problem2: Looks like /etc/tux.mime.types is not used:
> TUX/redirect                    pl php
> Anyway, I might fix that somehow if the first problem is solved. One after the other... ;)
> 
> thanks,
> Jan-Hendrik

-- 
Regards, 
Alex Antropoff





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []