Project

General

Profile

[Solved] cant access host useragent lighttpd 1.4.28 debian

Added by suppost over 9 years ago

config file is like.

server.modules = (
"mod_access","mod_expire",
"mod_alias",
"mod_compress",
"mod_redirect",
"mod_rewrite"
,"mod_accesslog"
)
$HTTP["useragent"] =~ "" { url.access-deny = ( "" ) }
rest is virtual hosts defined by domain name etc...
i can deny access to, for example .jpg files but not on empty useragent edit: not on any useragent
thank you


Replies (3)

RE: cant access host useragent lighttpd 1.4.28 debian - Added by darix over 9 years ago

$HTTP["useragent"] == ""

or

$HTTP["useragent"] =~ "^$"

RE: cant access host useragent lighttpd 1.4.28 debian - Added by suppost over 9 years ago

i already tried your examples, all the examples via search engines, forums etc...
like i said in the title "cant access host useragent"
thank you anyway

RE: cant access host useragent lighttpd 1.4.28 debian - Added by suppost over 9 years ago

i put that useragent checking part to the bottom of config, and it finally worked.
well done developers!

    (1-3/3)