CakePhp worked perfectly in my dev environment, but my host (a university) uses cgi Php, and it seems to be causing an interesting issue.
All urls written by Cake are prepended by "/cgi-bin/cgiwrap/ w3u_mysite/". My CakePhp app is located at www.university.edu/mysite/ and I have the RewriteBase set as /mysite/ in my .htaccess file. It appears to be the same issue experienced here ( http://groups.google.com/group/cake-php/browse_thread/thread/ef0d18910fd0e6f/cf587ec5b3240db1 ), but I'm assuming a lot has changed since 2007, and there was no definitive answer in that discussion. My current workaround is to avoid using any of Cake's link writing functions, and to hardcode links in my views. This is obviously not ideal. As in the 2007 question, I've searched through Cake looking for a variable definition where the "/cgi-bin/cgiwrap" is set, but have had no luck. Anyone have any clue as to what's happening, or a cleaner workaround? It may also be of importance that my app directory has AllowOverride set to certain options instead of All. I have FollowSymLinks enabled, as well as rewrite capabilities. They don't allow a blanket "All" configuration, and it is unclear which, if any, other features Cake needs. Thank you! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
