关于函数
我是一个PHP的菜鸟,现在遇到一个问题.就是函数explode()不知道应...
作者 Lonely 发布于 2003-09-02 分类:php基础编程
謝謝
逛论坛交流:在Windows下用Apache做虛擬主機用什麽方法要?
两种方法:基于域名和基于IP.
如果是ISP,需要处理大量虚拟主机。则需要使用群集虚拟驻流(mass virtual hosting).
基于IP的:
Listen 80
ServerAdmin sea@zzti.edu.cn
DocumentRoot "f:www/web"
Options ExecCGI
Order allow,deny
Allow from All
DirectoryIndex index.php index.php3 index.htm index.html
Listen 8080
ServerAdmin sea@zzti.edu.cn
DocumentRoot "f:bs/upload"
Options ExecCGI
Order allow,deny
Allow from All
DirectoryIndex index.php index.php3 index.htm index.html
我想注冊一個帳號可以同時開通HTTP和FTP,可以多個域名綁在一個IP上,具體怎麽實現?
基于名字的。
listen 80
NameVirtualHost 111.22.33.44
ServerName www.zzti.edu.cn
DocumentRoot /www/www.zzti.edu.cn
ServerName www.other.com
DocumentRoot /www/www.zzti.edu.cn
那就用第二个方案了。
QUOTE: 最初由 chengxin119 发布
[B]基于名字的。
listen 80
NameVirtualHost 111.22.33.44
ServerName www.zzti.edu.cn
DocumentRoot /www/www.zzti.edu.cn
写错了。应该是:
listen 80
NameVirtualHost 111.22.33.44
ServerName www.zzti.edu.cn
DocumentRoot /www/www.zzti.edu.cn
ServerName www.other.com
DocumentRoot /www/www.other.com
QUOTE: 最初由 chengxin119 发布
[B]基于名字的。
listen 80
NameVirtualHost 111.22.33.44
ServerName www.zzti.edu.cn
DocumentRoot /www/www.zzti.edu.cn
提示錯誤
我的http://ttm.com.cn指向我的218.86.173.203
在Apache下配置
ServerName ttm.com.cn
DocumentRoot c:/Program Files/Apache Group/Apache/wwwroot/wdb/
Syntax error on line 1024 of c:/program files/apache group/apache/conf/httpd.con
f:
DocumentRoot takes one argument, Root directory of the document tree
Note the errors or messages above, and press the
它提示你的WEB根目录有问题。你试一下:
DocumentRoot c:/Program FilesApache GroupApachewwwrootwdb
这个东西涉及问题较多,你最好看些这方面的书籍。
又搞错了!
DocumentRoot c:Program Files/Apache Group/Apache/wwwroot/wdb
10 条回复
回复