Hi Egbert,
It sounds like after the package update, lighttpd got restarted with the
default settings in '/etc/lighttpd/lighttpd.conf', and the default
'document-root' settings are pointed to '/var/www' instead of
'/var/www/pages'. The reason why you saw the general login page layout but
not the content when you browsed to http://my-server/pages/ is because
loading that content depends on 'document-root' to be set to
'/var/www/pages'
To fix this problem, it is necessary to get lighttpd restarted with the
Vyatta config file '/opt/vyatta/etc/lighttpd.conf' rather than the default
config file '/etc/lighttpd/lighttpd.conf'. Do you have the Vyatta config
file '/opt/vyatta/etc/lighttpd.conf' on your system?
To restart lighttpd with proper config file, try the following sequence of
commands from the root bash shell:
/etc/init.d/lighttpd stop
/opt/vyatta/sbin/lighttpd.init start
The above should shut down lighttpd with default settings, and start it up
again with Vyatta-specific settings. Then try browsing to the server and
using the GUI again. Hit F5 in your browser just to make sure that you load
a fresh page.
Let me know how it goes,
Thanks,
Marat
- Original Message -
From: Egbert Jan [EMAIL PROTECTED]
To: vyatta-users@mailman.vyatta.com
Sent: Tuesday, August 28, 2007 1:15 PM
Subject: [Vyatta-users] Web interface gone...
Hi,
In an attempt to update my router (was already on 2.2 community testing
branch), I used the update commands from the webinterface. So far so good.
But at a certain point lighttpd got updated (from the etch repositry) and
now I get a lighttpd welcome page on port 80 and an error on 443 (https).
I
suspect that /etc/lighttpd.conf was modified/replaced and (at least
DocumentRoot) is wrong. It is now /var/www. Shouldn't it be
/var/www/pages?
I have not rebooted yet (more users here at home...). When I point Firefox
to http://my-server/pages/ I get an empty login page. The general layout
is
there but no login/password box. What wold be the simplest way to repair
the
web interface? I have still ssh access.
TNX
Egbert Jan (NL)
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users