请问这里面,哪个是服务器的在本机windows的根目录?
variable valuehttp_host localhosthttp_connection keep-alivehttp_accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8http_user_agent mozilla/5.0 (windows nt 6.1) applewebkit/537.36 (khtml, like gecko) maxthon/4.4.8.1000 chrome/30.0.1599.101 safari/537.36http_dnt 1http_referer http://localhost/http_accept_encoding gzip,deflatehttp_accept_language zh-cnpath c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;systemroot c:\windowscomspec c:\windows\system32\cmd.exepathext .com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.mscwindir c:\windowsserver_signature no valueserver_software apache/2.4.18 (win32) openssl/1.0.2e php/5.6.18server_name localhostserver_addr ::1server_port 80remote_addr ::1document_root c:/appserv/wwwrequest_scheme httpcontext_prefix no valuecontext_document_root c:/appserv/wwwserver_admin admin@example.comscript_filename c:/appserv/www/info.phpremote_port 49557gateway_interface cgi/1.1server_protocol http/1.1request_method getquery_string no valuerequest_uri /info.phpscript_name /info.php
为什么我在www文件下定义了一个css文件,用:不行!
而用:就行了?
根目录不是 c:/appserv/www 吗?
回复内容: 请问这里面,哪个是服务器的在本机windows的根目录?
variable valuehttp_host localhosthttp_connection keep-alivehttp_accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8http_user_agent mozilla/5.0 (windows nt 6.1) applewebkit/537.36 (khtml, like gecko) maxthon/4.4.8.1000 chrome/30.0.1599.101 safari/537.36http_dnt 1http_referer http://localhost/http_accept_encoding gzip,deflatehttp_accept_language zh-cnpath c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;systemroot c:\windowscomspec c:\windows\system32\cmd.exepathext .com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh;.mscwindir c:\windowsserver_signature no valueserver_software apache/2.4.18 (win32) openssl/1.0.2e php/5.6.18server_name localhostserver_addr ::1server_port 80remote_addr ::1document_root c:/appserv/wwwrequest_scheme httpcontext_prefix no valuecontext_document_root c:/appserv/wwwserver_admin admin@example.comscript_filename c:/appserv/www/info.phpremote_port 49557gateway_interface cgi/1.1server_protocol http/1.1request_method getquery_string no valuerequest_uri /info.phpscript_name /info.php
为什么我在www文件下定义了一个css文件,用:不行!
而用:就行了?
根目录不是 c:/appserv/www 吗?
看 document_root
apache的httpd.conf文件 搜索documentroot查看apache指定的根目录