AUTO RESOLVED - lighttpd subfolders redirect to root January 08, 2019 01:48PM |
Registered: 5 years ago Posts: 4 |
include "/opt/piratebox/conf/lighttpd/fastcgi-php.conf"
$HTTP["url"] =~ "^/" { fastcgi.server = ( ".php" => (( "bin-path" => "/usr/bin/php-cgi", "socket" => "/tmp/php.socket", "max-procs" => 1 )) ) }
$HTTP["url"] =~ "^/" { fastcgi.server = ( ".php" => (( "bin-path" => "/usr/bin/php-cgi", "socket" => "/tmp/php.socket", "max-procs" => 1 )) ) url.rewrite-if-not-file = ( "^/path-to-app/(.*)" => "/path-to-app/index.php?q=$1" ) }