我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在Apache Server中创建别名时,必须编写选项:索引到目录?

When I don't give indexes option I all the time have forbidden message. When I give this option it works well, but I don't have starting page, but page with head: "index of" and below it there are links to files, which are in my directory.

Now, how to do, that I will have starting page? Without error.

One note: When I don't use Aliasing, the test Apache page working well (as starting page)

Try to add the following line in your "alias" config:

DirectoryIndex index.php index.html 

近期文章

  • PDO bindValues不绑定我的值
  • 具有codeigniter的IPN模拟器403
  • JQUERY getJSON / ajax响应未被处理
  • 如何使用iframe在我们的网站中显示其他网站内容?
  • 我有一个登录表单,其中有一个单击enter键提交表单的事件,它在IE中不起作用
  • 用于数据库抽象的PHP框架或库,安全登录
  • 在非zend项目中呈现zend表单的语法
  • Java字符串滚动的编写,效果如下:
  • 是否“必须”修剪POST / GET变量中的所有空格?
  • 在任何地方注销,我登录的其他地方
  • 这是否可以放在视图中?
  • PHP数组问题?
  • 将调试内容输出到文件中的最简单方法
  • 无法让类中的方法起作用
  • 在cur中卷曲的问题?
  • 使用htaccess跟踪访问者?
  • FTP /主机修改我的代码[重复]
  • PHP / Codeigniter / jQuery / MySQL的最佳数据访问方法
  • 如何用exec()响应密码提示
  • magento结账:更改运费

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华