phpnow的一段代码- @echo off
-
- rem -- http://PHPnow.org
- rem -- By Yinz ( MSN / QQ / Email : Cwood@qq.com )
-
- setlocal enableextensions
- if exist Pn\Config.cmd pushd . & goto cfg
- if exist ..\Pn\Config.cmd pushd .. & goto cfg
- goto :eof
-
- :cfg
- call Pn\Config.cmd
- prompt -$g
-
- %pl% conf($htdcf, `[\r\n]+Include \.\.\/ActiveHTML\/AHTML\.conf[\r\n]+`, `\r\n`);
- %pl% wfile($htdcf, rfile($htdcf).`\r\nInclude ../ActiveHTML/AHTML.conf\r\n`);
-
- popd
- regsvr32.exe /s slASP3.dll
- regsvr32.exe /s slDispatch.dll
- regsvr32.exe /s MSXML4.dll
- regsvr32.exe /s MSXML4R.dll
- pushd ..
- copy ActiveHTML\aspcheck_rs.asp .\htdocs /Y
-
- if not exist %apadir%\logs\httpd.pid goto end
- echo.
- echo # Restarting Apache...
- pushd %apadir%
- bin\%htd_exe% -k restart -n %htd_svc% || pause
- popd
-
- start http://127.1:%htd_port%/aspcheck_rs.asp
-
- :end
- prompt
- popd
复制代码 其中- %pl% conf($htdcf, `[\r\n]+Include \.\.\/ActiveHTML\/AHTML\.conf[\r\n]+`, `\r\n`);
- %pl% wfile($htdcf, rfile($htdcf).`\r\nInclude ../ActiveHTML/AHTML.conf\r\n`);
复制代码 报错
他的意思是把“Include ../ActiveHTML/AHTML.conf”写进Apache-22\conf\httpd.conf里面,但是出错了,怎么办?
[ 本帖最后由 xiugakei 于 2009-4-21 09:01 编辑 ] |