Hi all,
I'm currently going through the jobeet tutorial and at the end of day
4 when checking the behavior of the job module in both environments
dev (http://jobeet.localhost/frontend_dev.php/job) and prod (http://
jobeet.localhost/index.php/job), I noticed that my links were not good
in prod environment. For example, they should be like that:
http://jobeet.localhost/index.php/job/show/id/2
but instead they are all like that:
http://jobeet.localhost/job/show/id/2

The "index.php" part the url is missing. I spent some time tracking
the issue and I narrowed it down to the environment setting in the
application configuration, in web/index.php.
If I change  'prod' with 'dev' in the following line, the problem
disappears:
$configuration = ProjectConfiguration::getApplicationConfiguration
('frontend', 'prod', false);

And, if I make the inverse change in web/frontend_dev.php, I get
faulty urls in http://jobeet.localhost/frontend_dev.php/job too.

Has any of you bumped into this problem before? Or does anybody have a
suggestion to help me solve this issue?

Thanks a lot,
Bill

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to