• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lighttpd - mod rewrite

Blizny

New Member
Joined
Jun 26, 2012
Messages
106
Reaction score
0
Location
Poland / Bydgoszcz
Witam może mi ktośwytłumaczyć dokładniej jak zrobić rewrite pod lighttpd przeniosłem się z apache ale mam błąd 404 not found page.
Zrozumiałem tylko w googlach że trzeba coś ustawić w lighttpd.conf ale nie wiem dokładnie co, może mnie ktoś pokierować chociaż jak włączyć ten mod i pokazać co zrobić żeby zadziałała jakaś 1 zakładeczka?:p


lighttpd.conf
Code:
server.modules = (
	"mod_access",
	"mod_alias",
	"mod_compress",
 	"mod_redirect",
       "mod_rewrite",
)

server.document-root        = "/var/www"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog             = "/var/log/lighttpd/error.log"
server.pid-file             = "/var/run/lighttpd.pid"
server.username             = "www-data"
server.groupname            = "www-data"

index-file.names            = ( "index.php", "index.html",
                                "index.htm", "default.htm",
                               " index.lighttpd.html" )

url.access-deny             = ( "~", ".inc" )

static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

include_shell "/usr/share/lighttpd/use-ipv6.pl"

dir-listing.encoding        = "utf-8"
server.dir-listing          = "enable"

compress.cache-dir          = "/var/cache/lighttpd/compress/"
compress.filetype           = ( "application/x-javascript", "text/css", "text/html", "text/plain" )

include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
 
Poszukaj sobie gdzieś, pisałem na pb z mod_rewrite i przykłady na Lighttpd, inni dawali też tam pod apacze, więc poszukaj sobie w moich postach na pb.
 
Back
Top