[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Problem recognizing modes in URLs


	I respond to myself to clarify some things...

	I patched the C::A::Dispatch handler function to print the $path_info
variable (got with $r->path_info()) to a file in /tmp. Apparently for
the URL localhost/lunae/home/mode3, $path_info is set to '/mode3'
instead of '/home/mode3'. So the handler tries to load the module
Lunae::Iface::Mode3 instead of Lunae::Iface::Home with run_mode set to
'mode3', and it fails and return a 404 not found message. I don't know
why...

	Regards,
--
   \^/
 -/ O \----------------------------------------
| |/ \|       Alexandre (Midnite) Jousset      |
 -|___|----------------------------------------


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.