气浮机视频:IIS的问题,急啊!!!!!!!!

来源:百度文库 编辑:神马品牌网 时间:2024/04/29 18:18:47
我重装了系统,也装了IIS,可是之后我往wwwroot下放好ASP程序后,用127.0.0.1访问,提示确是 403 错误 无权访问,
在装好系统后我做过一下工作,是哪个影响了啊?
1.运行了下面几个批处理文件
第一个
@echo off
echo 正在清除系统垃圾文件,请稍等......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除系统LJ完成!
echo. & pause

第二个
@echo off
net share IPC$ /del
net share c$ /del
net share d$ /del
net share e$ /del
net share f$ /del
net share admin$ /del
我想可能是第二个批处理文件影响的

2.禁止了所有TCP端口,可是后来我开了后,还是403错误

3.停止了TELNET服务,后来开了服务还是不行.
回1楼的,我想应该是这个问题,可是该怎么解决那?不会再装一次系统吧
回2楼的,默认的首页没有问题
我在cmd下打net share可以看到默认共享的存在啊!说明没有删除啊!

不要随便删除共享硬盘,那是系统管理用的。

你 看下默认文档是不是 你应该指向的文档 比如index.asp defualt.asp

你 看下默认文档是不是 你应该指向的文档 比如index.asp defualt.asp