[Catalyst] Environment variable confliction.

Yiyi Hu yiyihu at gmail.com
Mon Nov 13 15:31:36 GMT 2006


export PATH_INFO=
export SCRIPT_NAME=

If you ever exported these 2 env.
You'll get the problem while running the test server. ./script/project_server

The problem would be like, the browser reached maximum redirection count.
Thus, failed to open the page.
eg.
You used Static::Simple.
and there is a file named index.html in root directory.
And configured default redirect http://localhost:1234/ to
http://local:1234/index.html
When there is a request to http://localhost:1234/
It would become a redirect loop.

Sorry for my poor English.
I ever wish to send this to mailing list.
But yet I'm busy, and forgetful.



More information about the Catalyst mailing list