I read about using xdebug with cakephp. I renamed three .htaccess files, one in /, one in /app, one in /app/webroot, then uncommented Configure::write('App.baseUrl', env('SCRIPT_NAME')); in app/config/core.php, then typed index.php before controller name, but css broke and a captcha fonts folder broke too. Inserting /app/webroot after /projects/iloved in the default layout's css url fixes css, but it may be breaking other things, because the captcha fonts folder is still broken. If I have to change from using modwrite to usin开发者_运维问答g index.php, what should I do to have urls that work?
Use Cakephp's html helper to build your CSS links. If you are not using mod rewrite, your css links should be
<link rel="stylesheet" type="text/css" href="/projects/iloved/app/webroot/css/cake.generic.css" />
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论