從Drupal的網站/默認/ settings.php這個文件:
/**
* Base URL (optional).
*
* If you are experiencing issues with different site domains,
* uncomment the Base URL statement below (remove the leading hash sign)
* and fill in the absolute URL to your Drupal installation.
*
* You might also want to force users to use a given domain.
* See the .htaccess file for more information.
*
* Examples:
* $base_url = 'http://www.example.com';
* $base_url = 'http://www.example.com:8888';
* $base_url = 'http://www.example.com/drupal';
* $base_url = 'https://www.example.com:8888/drupal';
*
* It is not allowed to have a trailing slash; Drupal will add it
* for you.
*/
# $base_url = 'http://www.example.com'; // NO trailing slash!
嘗試設置$ BASE_URL = 'http://localhost/work/site';
你有任何機會的nod32殺毒軟件嗎? – iBiryukov 2010-05-12 21:05:51
不! Avast在Windows 7 PC和Windows XP上沒有殺毒軟件 – AntonioCS 2010-05-12 21:09:44
是Apache的運行?你有沒有試過香草Drupal安裝? – Robert 2010-05-12 21:57:32