zoukankan      html  css  js  c++  java
  • [kooboo] 如何去掉路径中的 dev~

    在 kooboo中在默认情况下生成的 url中 总是包含 dev~这样的字样 , http://localhost:3910/dev~sampless/Articles/

    我们要的可能是这样的,

    http://localhost:3910/sampless/Articles/

    http://localhost:3910/Articles/

     
     
    ref: http://wiki.kooboo.com/?wiki=Site_setting
    
    Domains 
    
    This settings is used to set the domains a site is associated with. 
    
    If you want a site to be displayed for the domain www.samplesite.com you will need to add the domain name to this setting. 
    
    When debugging a site locally you can add localhost to this setting. Then then you can access the site without the dev~ prefix. 
    
     Site path 
    
    This setting allows you to access a different project on the same domain. 
    www.mydomain.com/sitepath
    www.mydomain.com/english
    www.mydomain.com/chinese/products
    
    
    Useful for multilingual websites and when there is a need for multiple projects on the same domain. 
    
     
     
    image
     
    可以更改sitepath,看起来就是二级目录了
  • 相关阅读:
    565. Array Nesting
    796. Rotate String
    817. Linked List Components
    696. Count Binary Substrings
    SQL语句优化
    java7增强的try语句关闭资源
    java新手自己实现的计算器,有点乱
    java数组
    java创建不存在路径的文件
    class.forName
  • 原文地址:https://www.cnblogs.com/zbw911/p/2860743.html
Copyright © 2011-2022 走看看