阿帕奇关机在httpd.conf DocumentRoot的变化后意外 [英] Apache shutdown unexpectedly after documentroot change in httpd.conf

查看:210
本文介绍了阿帕奇关机在httpd.conf DocumentRoot的变化后意外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在以下这toturial ,试图获得在投寄箱使用的文件夹我的htdocs文件夹。当我改变这些行:

I'm currently following this toturial to try to get use a folder in dropbox as my htdocs folder. When I change these lines:

DocumentRoot "C:/xampp/htdocs"
<Directory "C:/xampp/htdocs">

DocumentRoot "C:/Users/Håvard/Dropbox/web"
<Directory "C:/Users/Håvard/Dropbox/web">

我收到以下错误:

I get the following error:

19:39:52  [Apache]  Error: Apache shutdown unexpectedly.
19:39:52  [Apache]  This may be due to a blocked port, missing dependencies, 
19:39:52  [Apache]  improper privileges, a crash, or a shutdown by another method.
19:39:52  [Apache]  Press the Logs button to view error logs and check
19:39:52  [Apache]  the Windows Event Viewer for more clues
19:39:52  [Apache]  If you need more help, copy and post this
19:39:52  [Apache]  entire log window on the forums

我已经到期之前,使用相同的端口得到这个错误使用Skype,但这个时候,情况并非如此。我不相信这是与我在哈佛-username字母A......我已经试图改变路径的东西没有我的用户名和这个作品。

I have gotten this error before due to Skype using the same ports, but this time that's not the case. I do believe it has something to do with the letter "å" in my "Håvard"-username... I've tried changing the path to something without my username and this works..

是否有人知道,如果这封信有什么关系关机,如果:有没有什么解决的办法?

Does someone know if the letter has anything to do with the shutdown, and if: are there any solution to it?

推荐答案

我找到了一个解决问题的办法。这是httpd.conf文件的编码。这是我做了(我想有几个方法可以做到这一点):

I found a solution to the problem. It was the encoding of the httpd.conf file. Here's what I did (I guess there's several ways to do this):


  1. 在记事本中打开的httpd.conf ++

  2. 更改记事本+ +中的部分新建文档为UTF-8设置

  3. 创建新的文档

  4. 复制并粘贴到httpd.conf中新docuement一切

  5. 保存并覆盖为httpd.conf文件

这回答我的问题,但它并没有解决我的挪威信引起我的XAMPP安装问题的整体问题。这里是 我所面临的下一个问题。

This answers my question, but it didn't solve my overall issue of the norwegian letter causing problems with my xampp installation. Here's the next problem I faced.

这篇关于阿帕奇关机在httpd.conf DocumentRoot的变化后意外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆