Awesome! Fixed everything but the javascript and css links, which I have no problem hard coding into the templates.
Thanks! On Apr 19, 6:00 pm, ADmad <[email protected]> wrote: > In your app/Config/core.php try setting setting config var 'App.baseUrl' to > '/mysite/'. There is already a commented line for it, so un comment and > modify. Don't remove your htaccess files like the comment says :) > > -ADmad > > > > > > > > On Thursday, April 19, 2012 11:08:01 PM UTC+5:30, Crazd wrote: > > > 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 atwww.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/ef0d1891... > > ), 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
