Re: EuMVC:Dealing with favicon request

new topic     » goto parent     » topic index » view thread      » older message » newer message
euphoric said...

Does downloading the ZIP not get me the latest code? I get the same error as before after having replaced the old code with the new stuff... apparently.

The problem is this function in my app:

function unknown(object request) 
sequence url = map:get(request,"PATH_INFO") 
    map response = map:new() 
	addHomePageVars(response) 
	map:put(response, "error", "Unknown path: " & map:get(request,"PATH_INFO")) 
    return redirect( url_for("index", response ) ) 
end function 
app:route("*", "unknown") 

It's supposed to be a catch-all for unknown paths. I guess I need a different approach...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu