Quote:
Originally Posted by uberamd
I would suggest running a:
Code:
# chown -R www-data:www-data /var/www/*
That way everything is owned by the www-data user/group which may part of the issue you are running into. You have an alias setup, however lighttpd does not have permissions on the files because you own them, not www-data.
-Steve
|
Hi Steve,
Performed following test;
Edit /etc/lighttpd/lighttpd.conf
as follows;
Code:
....
$HTTP["remoteip"] =~ "127.0.0.1" {
alias.url += (
"/doc/" => "/usr/share/doc/",
"/images/" => "/usr/share/images/"
)
$HTTP["url"] =~ "^/doc/|^/images/" {
dir-listing.activate = "enable"
}
}
alias.url += ("/mail/" => "/var/www/roundcube/")
.....
The line;
Code:
alias.url += ("/mail/" => "/var/www/roundcube/")
must be globally. Otherwise roundcube won't start.
uncomment following 2 lines;
Code:
"/doc/" => "/usr/share/doc/",
"/images/" => "/usr/share/images/"
I commented them out because after adding
alias.url += ("/mail/" => "/var/www/roundcube/") there it complained on restarting lighttpd
# chown -R www-data:www-data /var/www/*
No complaint
# /etc/init.d/lighttpd restart
Code:
Stopping web server: lighttpd.
Starting web server: lighttpd.
Now RoundCube starts but with following warning;
Code:
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.
Where shall I check to rectify this problem. Which is its log file?
TIA
B.R.
satimis
Recent comments
3 hours 58 min ago
13 hours 25 min ago
14 hours 15 min ago
17 hours 48 min ago
22 hours 12 min ago
22 hours 34 min ago
1 day 44 min ago
1 day 10 hours ago
1 day 15 hours ago
1 day 17 hours ago