华枫论坛

华枫论坛 (http://www.chinasmile.net/forums/index.php)
-   IT交流 (http://www.chinasmile.net/forums/forumdisplay.php?f=10)
-   -   apache and windows xp 问题 (http://www.chinasmile.net/forums/showthread.php?t=37078)

ttfn Aug 24th, 2004 13:32

apache and windows xp 问题
 
哪位dx能帮忙解释一下?
试着安装apache 2到windows xp pro,不知dns如何处理,standlone machine没有domain name。我用port 8080,80已被iis使用。

ttfn Aug 24th, 2004 21:06

引用:

作者: ttfn
哪位dx能帮忙解释一下?
试着安装apache 2到windows xp pro,不知dns如何处理,standlone machine没有domain name。我用port 8080,80已被iis使用。

apache 有没有像iis那样的管理界面?还是只能同过httpd.conf调试?没完过,无从下手。:confused:哪位大侠肯帮忙?先谢了。

cattomato Aug 26th, 2004 14:02

引用:

作者: ttfn
哪位dx能帮忙解释一下?
试着安装apache 2到windows xp pro,不知dns如何处理,standlone machine没有domain name。我用port 8080,80已被iis使用。

http://apache2serverIP:8080
http://localhost:8080

再不就给你的apache2Server 起个名儿 再在 你的DNS server 里配置一下 要不就在 server端 和 client 端 的 hosts 文件里配置一下
呵呵!

ttfn Aug 26th, 2004 15:07

引用:

作者: cattomato
http://apache2serverIP:8080
http://localhost:8080

再不就给你的apache2Server 起个名儿 再在 你的DNS server 里配置一下 要不就在 server端 和 client 端 的 hosts 文件里配置一下
呵呵!

Thanks.

It wasn't successful for apache 2.
It is now working with apache 1.3.
I used "localhost" for domain name and server name.

This is the first time I play apache server. Still learning how to set up web site. I guess I can only stop, start, restart apache server thru command prompt, right? And any changes in httpd.conf will take effect only after server reboot, true?
I added lines like this:
Alias /testsite/ "c:/testsite/"
<Directory "C:/testsite">
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
After that, doing http://localhost:8080/testsite/ gives me a page not found error.
Any insights? I guess I need to edit host file.
Do you have a good link in Chinese regarding apache server setup?

ChinaSmileJoe Aug 26th, 2004 20:25

建议关掉IIS,如果不用的话。


所有时间均为格林尼治时间 -4。现在的时间是 12:01


Copyright © 1999-2024 Chinasmile