how to configuring a xampp web server for different root directory

后端 未结 10 1905
予麋鹿
予麋鹿 2020-12-02 07:17

The web directory is the home of all of your application\'s public and static files. Including images, stylesheets and JavaScript files. It is also where the front controlle

10条回答
  •  有刺的猬
    2020-12-02 07:38

    I moved my htdocs folder from C:\xampp\htdocs to D:\htdocs without editing the Apache config file (httpd.conf).

    Step 1) Move C:\xampp\htdocs folder to D:\htdocs Step 2) Create a symbolic link in C:\xampp\htdocs linked to D:\htdocs using mklink command.

    D:\>mklink /J C:\xampp\htdocs D:\htdocs
    Junction created for C:\xampp\htdocs <<===>> D:\htdocs
    
    D:\>
    

    Step 3) Done!

提交回复
热议问题