appache switch new workspace

appache switch new workspace: 1、build a folder in everywhere as new workspace folder (build direction like this--E:/apache_htdocs)/ 2、open the  file at C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf(the direction depands on where your apache was installed) 3、rewrite DocumentRoot " " item,(for example you can write it like DocumentRoot "E:/apache_htdocs") to redirect apache's workspace  4、copy your old website or create new project to this new workspace(for example to apache_htdocs folder) Note:you can rewrite your drupal website database connect information in file at E:/apache_htdocs/liposuction_online_store/sites/default/setting.php,modify the item $db_url = 'mysql://eva(database user account):19841002(database password)@localhost/liposuc(the database name this website used )'; 

你可能感兴趣的:(appache switch new workspace)