Hi!
I am having problems witn Invalid request.
server.port = 81
server.bind = "0.0.0.0"
#server.event-handler = "freebsd-kqueue"
server.modules = (
"mod_access",
"mod_rewrite",
"mod_fastcgi",
"mod_accesslog",
"mod_alias",
"mod_compress",
"mod_redirect",
"mod_status",
)
server.error-handler-404 = "/fcgihandler.fcgi"
server.document-root = "/home/www-data/web2py"
server.errorlog = "/tmp/error.log"
server.dir-listing = "disable"
fastcgi.server = (
".fcgi" => (
"localhost" => ( #name for logs
"min-procs" => 1,
"socket" => "/tmp/web2py.sock"
)
)
)
$HTTP["host"] =~ "^(.*)$" {
#server.document-root="/home/www-data/web2py"
url.rewrite-once = (
"^(/.+?/static/.+)$" => "/applications$1",
"(^|/.*)$" => "/handler_web2py.fcgi$1",
)
}
When I enter http://xxx.xxx.xxx.xxx:81 then it show me the Invalid
request and the url http://xxx.xxx.xxx.xxx:81/welcome/default/index