“如何去找conf目录下的httpd.conf文件”你不是真的问这个吧??apache安装目录比如是c:\apache那就在其中有个conf文件夹,里面就有一httpd.conf,放心改,改错了还有一httpd.conf.bak备份文件呢~~

解决方案 »

  1.   

    按我的判断是:
    他先setup了apache,然后发现不好使(因为没有配),所以就在网上找到一篇讲如何配置的文章,就是他帖出来的那一段,然后发现要改一名叫httpd.conf的文件,但是又没找着,就来问了~~我//汗~~先~~
      

  2.   

    一、 安装APACHE1.3.9(配置conf目录下的httpd.conf文件)
    1.#BindAddress * 改为 BindAddress 127.0.0.1
        #Servername new.host.name 改为 Servername localhost 
    2.让你的APACHE来支持PHP4. 加上下面这么几句:
        ScriptAlias /php4/ "C:/php4/"
        AddType application/x-httpd-php4 .php
    AddType application/x-httpd-php4 .php3
    AddType application/x-httpd-php4 .php4
    Action application/x-httpd-php4 "/php4/php.exe"
    3.设置Apache虚拟目录,加入以下行:
    Alias  /test/  "c:/php3/test/" 
    Alias  /jjjj/  "d:/timenet/"
    4.增加默认启动文档:
      DirectoryIndex index.html
      DirectoryIndex index.htm 
      DirectoryIndex index.php 
      DirectoryIndex index.php3 
      DirectoryIndex index.php4 
    5.测试文件info.php:  
      在浏览器中输入http://localhost/info.php我万万全全这么做的!并且在IIS+PHP4时一切调试OK,并且APACHE服务一定启动了,但当我打:
    http://127.0.0.1/info.php时,他就说找不到文件!  HTTP404错误!但文件一定存在!因为用IIS时可以显示,并且浏览HTM文件没错,怎么回师?!!
      

  3.   

    APACHE1.3.20PHP4。0。6我的版本WIN2000 ADV SERVER SP2