Domain name specific code blocks in htaccess

前端 未结 3 1276
醉话见心
醉话见心 2021-02-04 03:29

We have local servers, central dev, staging and production servers. However the dev and staging are password protected for obvious reasons. So after deploying any changes to the

3条回答
  •  滥情空心
    2021-02-04 04:09

    You should do this in your sites conf file with:

    
    
    ...config statements here
    
    
    

    and

    
    
    ....config statements here
    
    
    

    If you are with a host who does not allow you to edit your sites config file, which is a real possibility if you are with a shared host then you should consider VPS or dedicated hosting.

提交回复
热议问题