问下大家Apache的安装目录文件夹 htdocs 下有什么文件啊
apache吧
全部回复
仅看楼主
level 1
百密码
楼主
我的只有index.html.现在Apache启动不了 求各位帮帮我啊
2015年04月15日 12点04分
1
level 11
tany守护者
明天告诉你
2015年04月15日 17点04分
2
level 12
油豆腐细粉
一般htdocs下面有robots.txt, bootstraps.js,bootdtraps.css,jquery.js。
2015年04月16日 02点04分
3
百密码
我的装了两次里面只有index 会有影响吗 把php配置后 测试 打不开不知高手你怎么弄的
2015年04月16日 08点04分
level 1
百密码
楼主
我在httpd.conf设置了 DocumentRoot "D:/web"
和
# This should be changed to whatever you set DocumentRoot to.
<Directory "D:/web">
然后又把php-eclipse打开工程建在了D:/web 仍然打不开
测试代码是
<?php
phpinfo();
?>
高手这怎么搞啊
2015年04月16日 08点04分
4
IcarryUhome
第一步先测试php-eclipse,在internet explorer browser测试
http://localhost
看能不能出现"It Work",能的话在localhost/你的工程文件夹名称再测试一遍看能不能访问
2015年04月16日 09点04分
百密码
@IcarryUhome
我测试是显示 it work localhost/ 在D:/web 怎么输入啊
2015年04月16日 13点04分
level 1
百密码
楼主
问下测试d/web/PHPTest 下的php 是不是在浏览器输入
http://localhost/d/web/PHPTest
2015年04月16日 13点04分
5
level 3
IcarryUhome
<IfModule dir_module>
DirectoryIndex index.phpl index.html index.htm
Alias /eclipse_php "d:/workspace/eclipse_php"
<Directory d:/workspace/eclipse_php>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
</IfModule>
这些是我配置文件最后几行的代码,浏览器的路径取决于Alias后面的名称
此时访问“d:/workspace/eclipse_php”目录下的index.php浏览器地址为localhost/eclipse_php/即可
2015年04月22日 15点04分
6
IcarryUhome
主文件目录是不会变的,默认localhost即可访问,但你可以将不同路径的文件夹添加到dir_module,取一个名字Alias,访问的时候在localhost后面加你的Alias名称即可
2015年04月22日 15点04分
level 11
tany守护者
[SPARKLES] (
("\(●-●)
\ / 0\ \
( )"
\__T__/
2015年05月02日 17点05分
7
level 14
百年自由梦
你可以自己编一个简单的php网页
2015年05月06日 04点05分
8
百密码
谢谢大神 问题解决了
2015年05月06日 09点05分
1