没内容的网站怎么优化,怎么用ps做网站,专业做网站推广的公司,济南公司网站建设前置#xff1a; 在xp系统中#xff0c;打补丁之类或啥子操作引起或多或少的问题#xff0c;最终导致iis不能使用#xff1b; 不想装系统...忍着... 最近突发事件导致#xff0c;需要摸一下apache服务器处理#xff0c;好吧#xff0c;那就搜索下吧..... 目标#xff1…前置 在xp系统中打补丁之类或啥子操作引起或多或少的问题最终导致iis不能使用 不想装系统...忍着... 最近突发事件导致需要摸一下apache服务器处理好吧那就搜索下吧..... 目标 1、apache需要支持Net 第一步安装apache服务器 参考地址http://jingyan.baidu.com/article/d8072ac47baf0eec95cefdca.html 实践过程 1、win7 64 2、Apache 2.4.23 服务器软件 3、兼容VS2008开发工具采用V9可以支持xpserver 2003【当前未实践xp】 安装过程在参考文档中很详细这里再重复一个卸载 建议先停止服务再删除 cmd-》输入命令sc delete [apache服务器名称] 第二步如何配置Net Apache组织早在2007年就开发出mod_aspdotnet如下地址 https://sourceforge.net/projects/mod-aspdotnet/?sourcetyp_redirect 下载后直接安装在安装过程中第一步很慢他需要检测你的apache目录 具体过程如下 1.安装mod_aspdotnet安装过程中会先检测Apache的安装目录确认正确后一路“next” 2.进入Apache的modules目录你会发现增加了mod_aspdotnet.so 3.进入Apache的conf目录打开httpd.conf配置文件在尾部增加如下代码 ################################################################## #ASP.NET LoadModule aspdotnet_module modules/mod_aspdotnet.so AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo # Mount the ASP.NET example application假设网站文件位于d:/web/dotnet_document AspNetMount /mytest d:/web/dotnet_document # Map all requests for /active to the application files Alias /mytest d:/web/dotnet_document # Allow asp.net scripts to be executed in the active example Directory d:/web/netSample Options FollowSymlinks ExecCGI Order allow,deny Allow from all DirectoryIndex Default.htm Default.aspx index.aspx /Directory # For all virtual ASP.NET webs, we need the aspnet_client files # to serve the client-side helper scripts. AliasMatch /aspnet_client/system_web/(\d)_(\d)_(\d)_(\d)/(.*) C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4 Directory C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles Options FollowSymlinks Order allow,deny Allow from all /Directory ################################################################## 基本上就配置完毕需要检测下成果 1、apache是成功了能访问localhost 2、新增 mod_aspdotnet后失败重复做了几次都类似错误【其中出现一些错误需要重启才能停止比如端口占用问题】 预估估计是apache版本问题重新下载2.2版本的apache程序尝试实践过程中apache2.2只能放在根目录下的目录中不知道啥子问题 我把apache放在d:\webServer\apache22中一直过不到报错说d:\apache22目录下的啥子文件找不到实际配置到d:\webServer\apache22;粗略感觉还是啥子地方没有弄明白 好吧我先将就到d:\apache22,重启后apache正常了。 3、经过window的错误信息查看知道是应该是配置文件的问题不应该 csproj \ licx ... 应该 csproj licx ... 这个估计之前的2.4没有问题 4、经常出现433端口占用问题经过分析是被占用了 win下面输入命令可以看到pid netstat -o ,定位了pid直接kill 5、现在 apache环境Apache/2.2.31 (Win32) mod_aspdotnet/2.2 mod_ssl/2.2.31 OpenSSL/1.0.2j 好吧能用了但出现“ 当前标识(NT AUTHORITY\SYSTEM)没有对“C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files”的写访问权限。 ” 悲剧不知道这个咋个弄了先放到起转载于:https://www.cnblogs.com/GoGoagg/p/6168835.html