Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameterizing Hostnames subfolder bug #19

Closed
qiangxue opened this issue Feb 15, 2012 · 0 comments
Closed

Parameterizing Hostnames subfolder bug #19

qiangxue opened this issue Feb 15, 2012 · 0 comments

Comments

@qiangxue
Copy link
Member

What steps will reproduce the problem?

  1. Create a Yii blog inside a subfolder (www.example.com/blog)
  2. Use CUrlManager with a Parameterizing Hostnames
    ('http://<user:\w+>.example.com/<lang:\w+>/profile' => 'user/profile',)
  3. Notice you don't need the subfolder inside the rule

What is the expected output? What do you see instead?
You should be able to add the subfolder
(http://<user:\w+>.example.com/blog/<lang:\w+>/profile). It's not working
this way. Otherwise, you should highly warn on the documentation you only
use the address without the subfolder!!!

What version of the product are you using? On what operating system?
Last stable version (1.0.11) on Windows XP, Apache 2 and Firefox

Please provide any additional information below.

Migrated from http://code.google.com/p/yii/issues/detail?id=786


earlier comments

qiang.xue said, at 2010-01-07T22:19:38.000Z:

This issue was closed by revision r1680.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant