由 freedom_zjf 在 04-24-2003 10:16 发表:
怎么改APACHE服务器的默认HTTP地址
怎么把默认的home/httpd/html改为home/abc/
由 lanmaster 在 04-24-2003 14:51 发表:
在httpd.conf文件里的个DocumentRoot语句是用来定义一个网站内容存放位置的。
你可以这样写: DocumentRoot "/home/abc"当把一些想对应的指向也改过来就行了。
我这么说不知道你能不能明白。
成长中的菜鸟!
E-Mail:qcy_[email protected]
QQ :7118899
由 艾一客崖 在 04-24-2003 15:20 发表:
我不明白
由 lanmaster 在 04-24-2003 16:29 发表:
那个地方不明白呀。老兄。具体说出来,我不我怎么回答呀
成长中的菜鸟!
E-Mail:qcy_[email protected]
QQ :7118899
由 dsj 在 04-24-2003 20:20 发表:
Re: 怎么改APACHE服务器的默认HTTP地址
> quote:
>
> * * *
>
> 最初由 freedom_zjf 发布
>
> 怎么把默认的home/httpd/html改为home/abc/
>
> * * *
在http.conf里加入:
Alias /home/abc/ " /home/httpd/html/"
闲聊空间:
http://www.wonyen.net/bbs/mboard.asp
由 freedom_zjf 在 04-25-2003 09:26 发表:
> quote:
>
> * * *
>
> 最初由 lanmaster 发布
>
> **在httpd.conf文件里的个DocumentRoot语句是用来定义一个网站内容存放位置的。
>
> 你可以这样写: DocumentRoot "/home/abc"当把一些想对应的指向也改过来就行了。
>
> 我这么说不知道你能不能明白。 **
>
> * * *
你这个我用过的,没用。
由 lanmaster 在 04-25-2003 09:34 发表:
DocumentRoot: The directory out of which you will serve your
documents. By default, all requests are taken from this directory, but
symbolic links and aliases may be used to point to other locations.
DocumentRoot "/www/html"
上面的一段是httpd.conf里的内容。
其中DocumentRoot "/www/html/"也是我后来改过的。而且使用正常。
你这样改也应该没问题吧。还有