Which webserver are you running it on?
If it's on IIS you might want to try what I did here:
http://groups.google.com/group/cake-php/browse_thread/thread/016f66491cdc736c
On Jun 18, 12:34 am, Steve <[EMAIL PROTECTED]> wrote:
> But of course, uncommenting that breaks my other links. Any help?
>
> On Jun 17, 11:48 pm, Steve <[EMAIL PROTECTED]> wrote:
>
> > The server I am uploading a cake site to doesn't have mod_rewrite
> > enabled. So, as the core.php instructions say, I deleted all of the
> > necessary .htaccess files and uncommented line 55:
>
> > Configure::write('App.baseUrl', env('SCRIPT_NAME'));
>
> > .. however, this line is breaking my css and js links. I have cake and
> > the app directories outside the public_html folder.. and the webroot
> > files in public_html. The link it's generating is '/app_name/css/
> > screen.css' .. when it should be generating '/css/screen.css'
>
> > When I comment out that configuration line, however.. the links work.
>
> > Technically, I fixed the problem, but I'm just wondering why the
> > instructions say to uncomment that line, since it's what caused me
> > problems
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---