Hi Wafto
Try replacing line
".fcgi" => (
with line
"/handler_web2py.fcgi" => (
You can find more information at
http://www.web2pyslices.com/main/slices/take_slice/57
If this does not work then please let us know what the server error
log says.
John Heenan
On Aug 14, 7:12 am, wafto <[email protected]> wrote:
> 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 enterhttp://xxx.xxx.xxx.xxx:81then it show me the Invalid
> request and the urlhttp://xxx.xxx.xxx.xxx:81/welcome/default/index