i applied the below to set SSL in URBACKUp it not working and below my conf an still not working please advice
cat /etc/lighttpd/conf.d/fastcgi.conf | grep -v "#"
server.modules += ( “mod_fastcgi” )
FastCgiExternalServer /var/www/urbackup/x -host 127.0.0.1:55413
fastcgi.server = (
** “/urbackup/x” =>**
** (( “host” => “127.0.0.1”,**
** “port” => 55413**
** ))**
)
# cat /etc/lighttpd/lighttpd.conf | grep -v “#” | sort
** “index.xhtml”, “index.html”, “index.htm”, “default.htm”, “index.php”**
** server.range-requests = “disable”**
$HTTP[“url”] =~ “.pdf$” {
)
include "conf.d/access_log.conf"
include "conf.d/debug.conf"
include "conf.d/dirlisting.conf"
include "conf.d/fastcgi.conf"
include "conf.d/mime.conf"
include "modules.conf"
index-file.names += (
server.document-root = server_root + "/lighttpd"
server.errorlog = log_root + "/error.log"
server.event-handler = "linux-sysepoll"
server.follow-symlink = "enable"
server.groupname = "lighttpd"
server.max-connections = 1024
server.network-backend = "sendfile"
server.pid-file = state_dir + "/lighttpd.pid"
server.port = 80
server.stat-cache-engine = "simple"
server.upload-dirs = ( “/var/tmp” )
server.use-ipv6 = "enable"
server.username = "lighttpd"
static-file.exclude-extensions = ( “.php”, “.pl”, “.fcgi”, “.scgi” )
url.access-deny = ( “~”, “.inc” )
var.cache_dir = "/var/cache/lighttpd"
var.conf_dir = "/etc/lighttpd"
var.home_dir = "/var/lib/lighttpd"
var.log_root = "/var/log/lighttpd"
var.server_root = "/var/www"
var.socket_dir = state_dir + "/sockets"
var.state_dir = "/var/run"
var.vhosts_dir = server_root + "/vhosts"
4.2 Make webinterface accessible via SSL
The server web interface is accessible via FastCGI (on port 55413 TCP). With this you can connect UrBackup with pretty much every modern web server and thus make the web interface accessible via SSL. This section will describe how to do this with apache and lighttp.
4.2.1 Apache configuration
Either add a symlink to the ’www’ UrBackup directory or define it as an alias. For the symlink method you need to go to your SSL webroot and then do e.g.:
ln -s /usr/share/urbackup/www urbackup
Be sure you have set ’Option +FollowSymLinks’ in the web server configuration on the directory you link into. From now on it is assumed that urbackup should be accessible via
https://hostname/urbackup. Download and install ’libapache2-mod-fastcgi’ (this may have another name on other distributions and maybe in a “non-free” section). Add following line to the ’fastcgi.conf’:
FastCgiExternalServer /var/www/urbackup/x -host 127.0.0.1:55413
The path depends of cause on where your web root is and where you want the web interface to be. UrBackup should now be accessible via apache.
4.2.2 Lighttp configuration
Link the urbackup/www directory into the webroot as described in the apache configuration. Add
include “conf.d/fastcgi.conf”
to your ’lighttp.conf’ file. Then add
fastcgi.server = (
“/urbackup/x” =>
(( “host” => “127.0.0.1”,
“port” => 55413
))
)
to the ’fastcgi.conf’ file