server.port = 9095
server.username = "www-data"
server.groupname = "www-data"
-server.document-root = "/var/www/baculum"
-server.errorlog = "/var/www/baculum/protected/logs/baculum-error.log"
-accesslog.filename = "/var/www/baculum/protected/logs/baculum-access.log"
+server.document-root = "/usr/share/baculum/htdocs"
+server.errorlog = "/usr/share/baculum/htdocs/protected/logs/baculum-error.log"
+accesslog.filename = "/usr/share/baculum/htdocs/protected/logs/baculum-access.log"
server.pid-file = "/var/run/baculum.pid"
server.modules = (
"mod_auth",
+ "mod_alias",
"mod_rewrite",
"mod_fastcgi",
"mod_accesslog"
)
auth.backend = "plain"
-auth.backend.plain.userfile = "/var/www/baculum/protected/Data/baculum.users"
+auth.backend.plain.userfile = "/usr/share/baculum/htdocs/protected/Data/baculum.users"
auth.require = ( "/" => (
"method" => "basic",
"realm" => "Baculum Auth",
".js" => "application/javascript",
)
+alias.url = (
+ "/" => "/usr/share/baculum/htdocs/"
+)
+
fastcgi.server = (".php"=>((
"bin-path"=>"/usr/bin/php5-cgi",
- "socket"=>"/tmp/php.socket"
+ "socket"=>"/tmp/php5.sock",
+ "max-procs" => 1,
+ "bin-environment" => (
+ "PHP_FCGI_CHILDREN" => "4",
+ "PHP_FCGI_MAX_REQUESTS" => "10000"
+ ),
+ "bin-copy-environment" => (
+ "PATH", "SHELL", "USER"
+ ),
+ "broken-scriptfilename" => "enable"
)))
url.rewrite-once = (