Monday, March 29, 2010

URLs redirecting to /app/webroot/

Hi,

Our CakePHP 1.2 application has vBulletin forums installed in the
directory $cake_base_dir/app/webroot/forums/

Most of the time this works correctly serving up standard vbseo URLs
such as http://www.example.com/forums/general-discussion/ but we're
intermittently seeing URLs under /forums/ redirected to
/app/webroot/forums/ producing URLs such as
http://www.example.com/app/webroot/forums/general-discussion/

We've tried turning off vbseo on vbulletin and haven't seen the problem
occur when URLs are in the format
http://www.example.com/forums/forumdisplay.php?f=6 so this may be a
factor, however the problem is intermittent so it's quite possible that
this is not the issue.

We haven't set up anything specifically relating to the /forums/ route
in Cake's routing configuration, just relying on the rewrite of
app/webroot/ to /

For reference, we've had no problems with other resources in
$cake_base_dir/app/webroot/ such as images, css and js.

Can anyone advise us on what may be causing /forums/ URLs to
intermittently redirect to include the expanded /app/webroot/ path and
what's the most reliable way of reconfiguring Cake or Apache to ensure
this doesn't happen?

Thanks,


Nat.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: