[cgiapp] Re: CGI::Application::Dispatch help
Michael Peters
mpeters at plusthree.com
Mon Jan 19 15:09:50 EST 2009
fREW Schmidt wrote:
>> Maybe not. What happens if you change them. Also, why are you using a
>> DocumentRoot or ScriptAlias directive when you're handling everything under
>> '/' with that Location?
>
> If I remove ScriptAlias OR DocumentRoot nothing happens.
>
> If I remove both it stops ignoring the junk directory that I put in
> the url, but it adds it's own static directory to the beginning (so
> instead of localhost/frew/bar/baz yielding /bar/baz I get
> /htdocs/frew/bar/baz).
Well, I'm not sure why, but Apache is doing something weird here. Is this a Windows problem (did
someone else in this thread point out that it works right on Ubuntu)?
You could try just putting in your own dispatch_path() method in your Dispatch class to strip out
the first directory part of the PATH_INFO.
--
Michael Peters
Plus Three, LP
More information about the cgiapp
mailing list