RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

Newsletter script
Lighttpd support

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Free
View previous topic :: View next topic  
Author Message
Bloody



Joined: 31 Oct 2006
Posts: 3

PostPosted: Sep 28, 2007 3:21 am    Post subject: Lighttpd support Reply with quote

Hello there,
I was looking through this forum and there seem to be no support for lighttpd from SibSoft which is a really bad thing.

However with some help i was able to come so far to this change from the .htaccess to lighttpd.conf:

Code:
$HTTP["host"] =~ "(^|\.)filebong\.com$" {
  server.document-root = "/var/www/virtual/filehax.com/htdocs/"
url.rewrite-once = ( "^/$" => "/cgi-bin/index.cgi",
                        "^/([0-9A-Z]{12})/(.+)$"        =>     "/cgi-bin/index.cgi?act=download1&id=$1&fname=$2",
                        "^/del\-([0-9A-Z]{12})\-([0-9A-Z]+)/.+$"   =>    "/cgi-bin/index.cgi?del=$1-$2",
                        "^/([a-z0-9\-\_]+).html$"    =>    "/cgi-bin/index.cgi?act=page&tmpl=$1")

alias.url = ( "/cgi-bin/" => "/var/www/virtual/filehax.com/cgi-bin/" )
  $HTTP["url"] =~ "^/cgi-bin/" {
      cgi.assign = ( ".cgi" => "/usr/bin/perl" )
  }

server.errorlog            = "/var/www/virtual/filehax.com/logs/error.log"
accesslog.filename            = "/var/www/virtual/filehax.com/logs/access.log"
}


This so far rewrite, give download link, but however it can't delete files and going http://yoursitename.com/? will show the htdocs files instead of rewriting to cgi folder...

So if there is any lighttpd users here and would like to help, we mayeb can put some work together and get this baby working like on apache Very Happy


Cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Free All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group