ScriptAlias in lighttpd

I have to execute perl file without extension. is there something in lighttpd like ScriptAlias in Apache or how can i do that?
LVL 2
sausAsked:
Who is Participating?
 
NopiusConnect With a Mentor Commented:
http://trac.lighttpd.net/trac/wiki/Docs%3AModCGI

#Note: make sure that mod_alias is loaded if you use this:
alias.url += ( "/cgi-bin" => server_root + "/cgi-bin" )
$HTTP["url"] =~ "^/cgi-bin" {
    cgi.assign = ( "" => "" )
}

or

If the file has no extension keep in mind that lighttpd matches not the extension itself but the right part of the URL:

cgi.assign = ( "/testfile" => "" )
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.