centos里竟然看不到.htaccess文件
2015-03-10 12:51
246 查看
看看下面:
另外,如果你的.htaccess没起作用,记得将httpd.conf中的配置:
AllowOverride None
改为
AllowOverride All
[root@LAMP1 html]# ll 荤32 drwxr-xr-x. 15 501 80 4096 2 16 11:03 application drwxr-xr-x. 2 root root 4096 3 10 12:28 fanliext_server -rw-r--r--. 1 501 80 6356 3 9 15:48 index.php -rw-r--r--. 1 501 80 2496 2 16 11:01 license.txt drwxr-xr-x. 5 501 80 4096 2 16 11:03 resources drwxr-xr-x. 8 501 80 4096 2 16 11:03 system -rw-r--r--. 1 501 80 19 2 16 11:01 test.txt [root@LAMP1 html]# ls -la 荤64 drwxrwxrwx. 6 root root 4096 3 10 12:32 . drwxr-xr-x. 7 root root 4096 3 8 23:48 .. drwxr-xr-x. 15 501 80 4096 2 16 11:03 application -rw-r--r--. 1 root root 174 2 16 11:03 ._application drwxr-xr-x. 2 root root 4096 3 10 12:28 fanliext_server -rw-r--r--. 1 root root 0 3 10 12:31 .htaccess -rw-r--r--. 1 root root 174 3 9 15:48 ._index.php -rw-r--r--. 1 501 80 6356 3 9 15:48 index.php -rw-r--r--. 1 root root 174 2 16 11:01 ._license.txt -rw-r--r--. 1 501 80 2496 2 16 11:01 license.txt drwxr-xr-x. 5 501 80 4096 2 16 11:03 resources -rw-r--r--. 1 root root 174 2 16 11:03 ._resources drwxr-xr-x. 8 501 80 4096 2 16 11:03 system -rw-r--r--. 1 root root 174 2 16 11:03 ._system -rw-r--r--. 1 root root 174 2 16 11:01 ._test.txt -rw-r--r--. 1 501 80 19 2 16 11:01 test.txt -rw-r--r--. 1 root root 0 3 10 12:32 .txt [root@LAMP1 html]#
另外,如果你的.htaccess没起作用,记得将httpd.conf中的配置:
AllowOverride None
改为
AllowOverride All
相关文章推荐
- Centos下让nginx支持.htaccess文件实现伪静态的方法!
- CentOS下让Apache支持.htaccess伪静态文件方法
- Centos下让nginx支持.htaccess文件实现伪静态的方法!
- cPanel里面看不到.htaccess文件 但…
- Centos下让nginx支持.htaccess文件实现伪静态的方法!
- 隐藏文件看不到?中毒了!
- .htaccess文件
- 遭到评判:微软竟然悄悄强制升级系统文件
- CentOS 5 yum国内镜像服务器 配置文件[CentOS-Base.repo]
- smb.conf配置文件(Centos)
- Apache指南: .htaccess文件使用手册
- Apache .htaccess文件
- htaccess文件使用大全
- .htaccess 文件.htaccess 文件
- CentOS下的网络设置--基本配置文件篇
- Apache的.htaccess文件增加用户认证
- htaccess文件使用大全
- PHP的移动文件move_uploaded_file..竟然移动了没文件?
- apache中.htaccess文件的功能写法
- XP+SP2里查看缩略图功能看不到图像文件的缩略图的解决办法