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
-~----------~----~----~----~------~----~------~--~---