English 中文(简体)
acheWindows httpd.conf。 准入问题
原标题:Apache Windows httpd.conf AccessFileName problem

我正在对Windows使用Ampa 2.2.17。 建立<条码>。 档案中,我找不到“AccessFileName”。 我认为,应当有这样的一条线:AccessFileName .htaccess。 我如何解决这一问题?

rel=“nofollow noreferer”>Here。

最佳回答

我通过改动<代码>AllowOverride 无 至AllowOverride All<Directory>

问题回答

The AccessFileName .htaccess is default. If it is not present, that is what it s using. If you would to like use a different filename, you can add the line in and replace .htaccess accordingly.

http://www.d.apache.org/docs/2.0/mod/分.html

It says:

While processing a request the server looks for the first existing configuration file from this list of names in every directory of the path to the document, if distributed configuration files are enabled for that directory. For example:

AccessFileName.acl

before returning the document /usr/local/web/index.html, the server will read /.acl, /usr/.acl, /usr/local/.acl and /usr/local/web/.acl for directives, unless they have been disabled with

<Directory> AllowOverride None </Directory>





相关问题
Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

Multiple Sites with common files

I have developed over 50 sites that all use the exact same files other than CSS and IMAGES, I currently duplicate the files each time I create a new site and upload different css and images. What ...

http server validation

I finish a litle http server, writing from scratch. I would like to be sure that my imlementation is conforme to the HTTP specifications. W3C give us tools for HTML/XML conformance, but i see nothing ...

热门标签