虚拟主机问题
什么是虚拟主机?
虚拟主机是使用特殊的软硬件技术,把一台运行在因特网上的服务器主机分成一台台“虚拟”的主机,每一台虚拟主机都具有独立的域名,具有完整的Internet服务器(WWW、FTP、Email等)功能,虚拟主机之间完全独立,并可由用户自行管理,在外界看来,每一台虚拟主机和一台独立的主机完全一样。
页面上传完毕,为何显示的还是原有的默认页?
有两种可能:1、未将页面传至htdocs目录下(windows虚拟主机),而是直接传到根目录或其他目录下;
2、未将原有的默认页面删除或覆盖。
网页在本地正常,为何上传之后就看不见图?
1、请确认图片已上传至服务器。2、制作网页时插入的图片均应采用相对路径来标记。若您不慎使用了绝对路径,如:c:/images/a.jpg,则会出现在本地浏览正常而上传后却找不到的现象。你可以在显示不了的图片上右击鼠标,在弹出菜单中选择属性,查看它的路径跟互联网的路径是否相一致。如果不一致请修改。在一些unix主机里也会留意文件名的大小写。一般大小写的问题不存在。
linux虚拟主机不支持CGI?
linux虚拟主机上传CGI程序时,若直接上传DOS格式文件,将出现错误信息。必须转为文本格式后上传,方能正常显示。通常,此类错误将造成访问时,出现如下的错误信息“Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@yourdomain and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ---------------------- Apache/1.3.22 Server at bitterhot.l4.zjisp.com Port 80”
Jmail支持身份认证代码?
<% Set JMail=Server.CreateObject("JMail.Message") jmail.from="abc@abc.com" ‘发送者的邮箱 jmail.silent = true jmail.Logging = true jmail.FromName ="eagle" jmail.mailserverusername="abc@abc.com" ‘发送者的邮箱 jmail.mailserverpassword="test" ‘发送者的邮箱密码 jmail.AddRecipient "abc@abc.com" jmail.body="test" if not jmail.Send ("mail.域名" ) then ‘发送者邮箱的SMTP服务器地址 Response.write "" & jmail.log & "
" else Response.write "&rt; pre&rt; " & jmail.log & "&rt; /pre&rt; " end if %&rt;


