我使用lunarpages主机,为什么有的文章发布不了?

当文章中包含某些词汇时,例如”.htaccess” “/usr/bin/perl” ,在任何平台,例如wordpress,discuz,发布不成功.

这个是因为启用了安全过滤,禁用就可以了,请参考:http://www.lunarpagescn.com/use/lunarpages_post/

原创文章,转载请注明: 转载自LunarPages美国jsp主机

本文链接地址: 我使用lunarpages主机,为什么有的文章发布不了?

文章的脚注信息由WordPress的wp-posturl插件自动生成

LunarPages主机升级Zend Optimizer方法

如果需要最新版本的Zend Optimizer可以使用如下方法升级到高版本

1.到http://www.zend.com/downloads 下载zend optimizer的最新版本

2.解压缩下载的文件,你会找到一个名字为data的文件夹。把文件夹的名字修改为比较特殊的名字,例如zendopt(在下面的文章中我们将用这个名字作为例子)

3。上传zendopt文件夹(就是原来的data文件夹,这个名字是自己修改的,修改为什么名字就使用什么)到public_html目录。

4。在public_html目录下的.htaccess文件中中增加:
suPHP_ConfigPath /home/user/public_html
其中user就是你在lunarpages的主机帐户的用户名

5。在php.ini文件中添加下列语句,如果没有php.ini可以自己建立:

[Zend]
zend_optimizer.optimization_level=15
zend_extension=/home/USERNAME/public_html/zendopt/4_4_x_comp/ZendOptimizer.so
zend_extension_ts=/home/USERNAME/public_html/zendopt/4_4_x_comp/TS/ZendOptimizer.so

注意:用你的cpanel用户名替换上面的USERNAME
用你所在的服务器的PHP版本替换4_4_x_comp
Zendopt文件夹包含很多文件夹例如4_4_x_comp, 5_1_x_comp, 和 5_2_x_comp,选择一个和你的服务器使用的PHP版本最接近的。

6.确认zend optimizer是否升级成功.建立一个php文件,文件内容:
< ? echo phpinfo(); ?>
然后再浏览器中访问这个文件就能看到配置信息.

原创文章,转载请注明: 转载自LunarPages美国jsp主机

本文链接地址: LunarPages主机升级Zend Optimizer方法

文章的脚注信息由WordPress的wp-posturl插件自动生成

LunarPages控制面板说明

LunarPages控制面板使用Cpanel,可以通过如下地址登陆:
http://www.yourname.com/cpanel
http://www.yourname.com:2082
其中yourname.com换为你的域名即可,例如www.lunarpagescn.com:2082
会弹出登陆框,输入用户名,密码以后确认即可
还可以通过LunarPages主页登陆,在首页右上角输入用户名密码然后点击login,进入以后点击Control Panel,然后点击go to cPanel进入控制面板。
下面说明控制面板中每一部分的功能,具体的常用操作以后文章中逐渐给出。
控制面板分三部分,左侧上半部分显示主机帐户基本信息:

左侧下半部分显示服务器基本信息,包括Apache,PHP版本:

右侧是控制面板的主要部分,基本的操作都要在这里完成,每部分的功能如下面两图的注释:

原创文章,转载请注明: 转载自LunarPages美国jsp主机

本文链接地址: LunarPages控制面板说明

文章的脚注信息由WordPress的wp-posturl插件自动生成

LunarPages主机.htaccess文件格式

因为LunarPages使用suPHP,所以在.htaccess文件中不能包含以”php_value”和 “php_flag”开头的语句,如果.htaccess文件中有这样的语句,需要将他们移到php.ini文件中,并在.htaccess中增加以下语句:

suPHP_ConfigPath /home/username/public_html

其中username是你在lunarpages的主机帐户的用户名

php.ini文件中语句格式和 .htaccess中格式不同,php.ini中的格式如下:

setting_name = setting_value

例如 .htaccess中的语句

php_value register_globals 0

移动到php.ini文件中应该写作:

register_globals = Off

php.ini文件一般放在public_html路径下,他的设置对帐户下所有网站都生效.如果只是想修改某个添加的域名对应网站的设置,只需要在该域名的根目录下新建php.ini文件,添加需要语句即可,同时需要在该目录 .htaccess文件中添加:

suPHP_ConfigPath /home/username/public_html/subcategory

最后的subcategory换成你的域名对应的文件夹名称.

原创文章,转载请注明: 转载自LunarPages美国jsp主机

本文链接地址: LunarPages主机.htaccess文件格式

文章的脚注信息由WordPress的wp-posturl插件自动生成

LunarPages美国主机常见问题

一. 购买

1.Lunarpages有优惠卷么?

有,请参考:
http://www.lunarpagescn.com/coupon/lunarpages_coupon/

2.Lunarpages支持哪些付款方式,可否用国内银行卡付款?

请参考:http://www.lunarpagescn.com/faq/lunarpages_payment/

3.lunarpages如何退款?

30天内可以退款,退款过程请参考:http://www.lunarpagescn.com/purchase/lunarpages_refund/

4.我看不懂英文,如何购买?

请参考我们为您准备的购买图解教程:http://www.lunarpagescn.com/purchase/purchare/

二.使用

1.我在使用中遇到问题,如何联系lunarpages获取帮助?< /font>请参考:LunarPages获得官方帮助途径

2.

原创文章,转载请注明: 转载自LunarPages美国jsp主机

本文链接地址: LunarPages美国主机常见问题

文章的脚注信息由WordPress的wp-posturl插件自动生成

LunarPages获得官方帮助途径

1. 电话支持
1-877-586-2772 美国,加拿大
0800-072-9150 英国
714-521-8150 国际客户

电话支持 周一到周五 上午7点到下午5点 周六,周日上午8点到下午5点

2. 邮件支持

技术支持 support@lunarpages.com
销售: sales@lunarpages.com
财务: billing@lunarpages.com

邮件支持全天24小时

3. Ticket支持
提交地址: https://desk.lunarpages.com/newticket.php

需要填写表格内容如下:
Brief title for your question 标题,最好大概描述问题的要点
Your email address 你的email地址,有回复会发信通知你,确保正确
Please categorize your question 选择提交的问题分类 support技术 password issues 密码相关问题 sales销售 billing财务
Please prioritize your question 选择问题的优先级 从上到下重要度增加,low最低.重要的问题,例如网站不能访问选择最高优先级.
Primary Domain 主机帐户的主域名,就是购买时的域名
Alternate Email 备用Email
User Name 用户名
Phone 电话,可以不写
Server所在服务器,知道就写,不知道就不写
Security Code 安全码,信用卡末4位或者是你密码的第一位第二位和最后一位.如果需要更改帐户或信息需要填写这个,否则可以不写
Plan 选择你的主机方案
Your Question 输入你要提交的问题
写完以后点击submit question就可以提交问题了.提交以后系统会给你发一封确认邮件,你的问题有回复以后系统还会发邮件通知你.

如果英文不好,可以将你需要提交的问题描述清楚,最好是用中文写好要提交的问题,然后发到本站合作论坛的英文翻译专版http://bbs.idcspy.org/forum-52-1.html,我们会帮你翻译.收到解答以后也可以发到这个版让我们帮助翻译为中文,发之前请将敏感信息清除掉,例如密码之类的.
请务必用中文描述清楚问题,此版负责人只负责翻译,对虚拟主机方面问题并不是很熟悉.

4.论坛支持

论坛地址: http://www.lunarforums.com/

原创文章,转载请注明: 转载自LunarPages美国jsp主机

本文链接地址: LunarPages获得官方帮助途径

文章的脚注信息由WordPress的wp-posturl插件自动生成

LunarPages中实现gzip压缩输出(将ShopEx Gzip压缩传输!)

启用gzip可以将文件压缩到原来的约1/4,也就是速度可以提高到原来的4倍,使用流量将减少到原来的1/4。弄了一个纯文本的html测试,原文件1.6M,竟然压缩掉99%!可见gzip的优势。

这里介绍如何在LunarPages中为网站程序启用gzip压缩,不需要程序的支持,可以为所有的php及html启用gzip压缩。当然,如果你使用 的是本身可以启用gzip的程序,例如discuz,wordpress等等,只需要在程序后台启用即可,就不需要这么麻烦了。如果你使用的是像 ShopEx这样的没有gzip功能的程序可以使用此方法,可以极大的提高访问速度(ShopEx最大的缺点就是速度慢).启用gzip会轻微加重服务器资源消耗,给html启用gzip,则html文件需要经过php引擎编译,会加重服务器负担。

首先给所有的php文件启用gip压缩:

在php.ini中添加下面语句

[Copy to clipboard] [ ]

CODE:

output_buffering = Off
output_handler =
zlib.output_compression = On
这样就可以给所有php文件进行gzip压缩了。注意的是,这样启用gzip之后需要将程序原来的gzip功能去掉,例如discuz等的gzip不要启用,否则程序会报错。

下面为html页面启用gzip压缩,我们要做的就是让apache将html文件当作php文件处理即可。在.htaccess文件中加入下面的语句即可:

[Copy to clipboard] [ ]

CODE:

AddHandler x-httpd-php .html .htm

这样就可以为html文件htm文件启用gzip压缩了。

目前只测试了在lunarpages的suPHP中此方法有效,其他主机试过之后再公布。

这个是启用gzip以后的Shopex:http://shopex.lunarpagescn.com

如果给所有网站启用gzip,修改public_html文件夹下的php.ini及.htaccess,如果只想将其应用在某个域名,修改对应目录的php.ini及.htaccess

原创文章,转载请注明: 转载自LunarPages美国jsp主机

本文链接地址: LunarPages中实现gzip压缩输出(将ShopEx Gzip压缩传输!)

文章的脚注信息由WordPress的wp-posturl插件自动生成

LunarPages 开通信翻译

—————————————————————————————-

推荐阅读:

LunarPages购买过程图解

http://bbs.idcspy.org/thread-2263-1-1.html

优惠券 percent26 优惠购买总金额的26% 28OFF 优惠28美元

—————————————————————————————-

信件内容很长,只翻译和使用密切相关的部分。

帐户信息部分

Account Information

This gives information on how to access and maintain your account. We highly recommend changing your password periodically to maintain security.

Domain: lunarpagescn.com 域名,你购买的时候填写的域名,你的主域名

Username: lgnar69 用户名

Password: k39q63r10 密码

Server: asrist 服务器名

帐户帮助信息

Account Assistance

Lunarpages has many tools for our customers to assist them with their website. Please see the following:

Telephone support is open Monday through Friday, 7:00 am . 5:00 pm PST/PDT and Saturday and Sunday, 8:00 am . 5:00 pm PST/PDT. Please note that the billing department is open Monday through Friday, 7:00 am . 5:00 pm PST/PDT.

查看网站

View Your Website

Please note that until you upload your information you will see an empty directory.

You should upload all files into the public_html directory of your file manager. Please also see FTP Instructions for more details.

将所有的网站文件上传到public_html 目录,public_html 是网站根目录

If you are purchasing a new domain or changing nameservers on an existing domain, it can take up to 72 hours for the domain to propagate fully. During this time you may not be able to view your site or receive email. For your convenience, we have provided a temporary URL until this is complete (Please note that this URL will not be able to display PHP, ASP, or JSP pages):

http://asrist.lunarservers.com/~lunar54/

在域名没有生效以前可以使用上面的零时地址访问网站

Once propagation is complete you may view your site at the following email links:

生效以后就可以使用下面的地址访问网站

http://lunarpagescn.com

or

http://www.lunarpagescn.com

控制面板

Lunarpages Administration Panel

Lunarpages uses CPanel, an easy to use customer account interface.

The administration panel lets you manage your entire website, modify and setup account features and much more.

Instruction Manual: http://www.lunarpages.com/new_manual/index.html

使用说明书 http://www.lunarpages.com/new_manual/index.html

Helpful Tutorials: http://www.lunarpages.com/tutorials/index.htm

帮助指南 http://www.lunarpages.com/tutorials/index.htm

Access Your Control Panel: http://www.lunarpages.com/login.php

登陆控制面板地址:http://www.lunarpages.com/login.php

邮件说明

Email Instructions

Your new account offers POP3, IMAP and SMTP access.

POP3 Mail Host: lunarpagescn.com POP3地址:lunarpagescn.com
SMTP Mail Host: lunarpagescn.com SMTP地址: lunarpagescn.com
Webmail Interface: http://lunarpagescn.com/webmail

web邮件地址http://lunarpagescn.com/webmail

Outlook Express E-Mail Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/email_OE.htm

Outlook Express设置帮助:http://www.lunarpages.com/tutorials/tutorial_files/email_OE.htm

Outlook 2002 E-Mail Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/email_outlook2002.htm

Outlook 2002 设置 http://www.lunarpages.com/tutorials/tutorial_files/email_outlook2002.htm

Netscape E-Mail Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/email_netscape.htm

Netscape设置http://www.lunarpages.com/tutorials/tutorial_files/email_netscape.htm

Web Based E-Mail: http://www.lunarpages.com/tutorials/tutorial_files/cpanel_xv2_webmail.htm

网页邮件使用:http://www.lunarpages.com/tutorials/tutorial_files/cpanel_xv2_webmail.htm

How To Create New E-Mail Accounts: http://www.lunarpages.com/tutorials/tutorial_files/cpanel_xv2_POP.htm

如何建立新的邮件帐户:http://www.lunarpages.com/tutorials/tutorial_files/cpanel_xv2_POP.htm

Please note that SMTP authentication must be set.

FTP说明

FTP Instructions

You can begin uploading your files immediately.

FTP host address: ftp://asrist.lunarservers.com/ (this can be used until propagation is complete) Or lunarpagescn.com (this can be used once propagation is complete) Critical Note:
In order for your pages to be viewed on the internet, they must be uploaded into the public_html folder. Please also note file names are case sensitive on a Linux server. Your first page on your account should be named “index.html”.

WsFTP Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/ws_ftp_configuresite.htm

CuteFTP Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/cuteftp_configure.htm

SmartFTP Setup Help: http://www.lunarpages.com/tutorials/tutorial_files/smartftp_configuresite.htm

* You understand and agree that shared server space is for business and personal website operations only hosted by Lunarpages and not for unrelated data storage.

FTP地址可以使用域名(要等解析生效以后)或者是IP,主账户的用户名和密码和帐户信息部分部分的帐号和密码一致。所有网站文件应该上传到public_html目录及其子目录下。linux系统区分文件大小写,注意文件的大小写。

域名说明

Domain Name Instructions

Critical Note

In order to use your own domain name at Lunarpages you must change the name servers to the following:

ns1.lunarservers.com
ns2.lunarservers.com

解析服务器地址:

ns1.lunarservers.com
ns2.lunarservers.com

If your registrar requires the IP addresses:

ns1.lunarservers.com: 209.200.238.4
ns2.lunarservers.com: 209.200.237.4

Tutorial on How To Change DNS Servers:
http://www.lunarpages.com/tutorials/all_registrars.htm

修改DNS服务器的指导

http://www.lunarpages.com/tutorials/all_registrars.htm

You must visit your registrar (the website where you purchased your domain) to complete this action.

NOTE: You must allow up to 72 hours from the time you change your domain name servers for the domain to work. It takes all registrars this long for your domain changes to reach all the world’s servers.

If you purchased your domain from Lunarpages, it has already been done!

如果你的域名是在lunarpages注册的,那么这一切都是做好的,等域名生效就可以使用了。

Anonymous Domain

After registering a new domain, your personal information is readily available on the Internet via a whois search (whois.com). To ensure your anonymity, Lunarpages has Anonymous Domain Registration available. For more information, please contact sales@lunarpages.com.

高级选项

Advanced Options

Lunarpages has the capacity to support several scripting languages including PHP4 and PERL5

Path to Perl 5: /usr/bin/perl

Perl 5路径:/usr/bin/perl
Path to your HOME directory: /home/USER/public_html/

网站根目录的真实路径:/home/USER/public_html/

Path to your CGI-BIN directory: /home/USER/public_html/cgi-bin

CGI-BIN 目录:/home/USER/public_html/cgi-bin

PHP4 scripts will run from any directory in your site (once DNS propogation is complete, within 72 hours of signup).

All other script documentation, including how to use MySQL, can be found in your Lunarpages Administration Panel.

原创文章,转载请注明: 转载自LunarPages美国jsp主机

本文链接地址: LunarPages 开通信翻译

文章的脚注信息由WordPress的wp-posturl插件自动生成

LunarPages不能发文章的解决方法

表现:
当文章中包含某些词汇时,例如”.htaccess” “/usr/bin/perl” ,在任何平台,例如wordpress,discuz,发布不成功.

解决方法:关闭Lunarpages的安全扫描。

操作如下:
在程序安装目录的.htaccess文件中中加入如下语句

# cancel mod security
SecFilterEngine Off
SecFilterScanPOST Off

原创文章,转载请注明: 转载自LunarPages美国jsp主机

本文链接地址: LunarPages不能发文章的解决方法

文章的脚注信息由WordPress的wp-posturl插件自动生成

Lunarpages独立主机介绍

更新于: April 18, 2011 at 10:25 am

Lunarpages不仅有虚拟主机,而且还有独立主机。

网站地址:lpdedicated.com

独立主机优惠码:50off 购买6/12个月独立主机优惠50美元

主机参数比较:
Linux 主机

购买 购买 购买
型号: Dedicated I Dedicated II Dedicated III
月付 $109 $140 $200
设置费* FREE FREE FREE
30-day退款保证
CPU Intel® Core™2 Duo E4600 2.40ghz Intel® Pentium 4™2.8ghz Dual Intel® Xeon®2.66ghz
CPU 可升级至 None Available Intel® Core™2 Duo E6550 2.33ghz – $26/month
Intel® Core™ 2 Quad – $51/month
Dual Core Intel® Xeon® 5110 1.6ghz – $26/month
Intel® Quad-Core Xeon® 2.0ghz – $75/month
内存 2GB 3GB 3GB
可添加内存 $25.00 设置费 

1GB $19.95/月

2GB $39.90/月

 

$25.00 设置费1GB $19.95/month 

 

 

$25.00 设置费 

1GB $19.95/month

2GB $39.90/month

3GB $59.85/month

硬盘大小 2×80 GB 2× 160 GB 2× 250 GB
可加硬盘 $25.00 安装费 

2 x 120 GB $25.00/month
2 x 200 GB $30.00/month
2 x 500 GB $48.00/month
2 x 1 TB $58.00/month

$25.00 安装费 

2 x 200 GB $30.00/month
2 x 500 GB $48.00/month
2 x 1 TB $58.00/mont

$25.00 安装费 

2 x 500 GB $48.00/month
2 x 1 TB $58.00/month

月流量 2,000 GB 3,000 GB 4,000 GB
可加流量 $0.60/每月每1GB $0.60/每月每1GB $0.60/每月每1GB
已有备份空间 2 GB 2 GB 2 GB
可加备份空间 $25.00 安装费$20.00 /每10GB $25.00 安装费$20.00 /每10 GB $25.00 安装费$20.00 /每10GB
操作系统** Linux: CentOS Linux: CentOS Linux: CentOS
CPanel*** Linux only:$10.00安装费$35.00/月 Linux only:$10.00安装费$35.00/月 Linux only:$10.00安装费$35.00/月
Plesk $10 安装费30 domains – $25/月 

100 domains – $35/月

无限domains – $45/月

语言包 – $6/月

Power Pack – $15/月

$10 安装费30 domains – $25/月 

100 domains – $35/月

无限domains – $45/月

语言包 – $6/月

Power Pack – $15/月

$10 安装费30 domains – $25/月 

100 domains – $35/月

无限domains – $45/月

语言包 – $6/月

Power Pack – $15/月

LunarPanel 免费 免费 免费
独立IP地址 5个 5个 5个
可加 IP 1-3 $3.95/个 1-3 $3.95/个 1-3 $3.95/个
Clustered, Load-Balanced Servers 起价 $125.00/每个 起价 $125.00/每个 起价 $125.00/每个
SSH
MySQL and Postgre Databases
Ecommerce
SSL Certificate Install 免费 免费 免费
重启 $10.00 /次 $10.00 /次 $10.00 /次
Managed Hosting Lite $9.99/mo $9.99/mo $9.99/mo
Managed Hosting Intense $39.99/mo $39.99/mo $39.99/mo
购买 购买 购买

*Free Setup: 购买3个月以上免设置费,否则需要设置费$99。退款时,设置费,域名注册费不退

**Linux 操作系统: Lunarpages推荐安装CentOS。

***Cpanel vs. Plesk: Lunarpages推荐linux独立主机用Cpanel 。Cpanel 在这两者之间更友好,更流行。当然也提供Ples

Windows 独立主机

型号 Dedicated I Dedicated II Dedicated III
月付 Server 2003
Web Edition: $130
Standard Edition: $140 

Server 2008
Web Edition: $130
Standard Edition: $140
Enterprise Edition: $145

Server 2003
Web Edition: $161
Standard Edition: $170
Enterprise Edition: $175
Server 2008
Web Edition: $161
Standard Edition: $170
Enterprise Edition: $175
Server 2003
Web Edition: $221
Standard Edition: $230
Enterprise Edition: $235
Server 2008
Web Edition: $221
Standard Edition: $230
Enterprise Edition: $235
设置费* 免费 免费 免费
30-day 退款保证
CPU Intel® Core™2 Duo E4600 2.40ghz Intel® Pentium 4™2.8ghz Dual Intel® Xeon®2.66ghz
CPU可升级至 None Available Intel® Core™2 Duo E6550 2.33ghz – $26/month
Intel® Core™ 2 Quad – $51/month
Dual Core Intel® Xeon® 5110 1.6ghz – $26/month
Intel® Quad-Core Intel®Xeon® 2.0ghz – $75/month
内存 2GB 3GB 3GB
内存可加 $25.00 设置费
1GB $19.95/月
2GB $39.90/月
$25.00 设置费
1GB $19.95/月
$25.00 设置费
1GB $19.95/月
2GB $39.90/月
3GB $59.85/月
硬盘 2×80 GB SATA 2× 160 GB SATA 2× 250 GB SATA
可加硬盘 $25.00 设置费
2 x 120 GB $25.00/月
2 x 200 GB $30.00/月
2 x 500 GB $48.00/月
2 x 1 TB $58.00/月
$25.00 设置费
2 x 200 GB $30.00/月
2 x 500 GB $48.00/月
2 x 1 TB $58.00/月
$25.00 S设置费
2 x 500 GB $48.00/月
2 x 1 TB $58.00/月
月流量 2,000 GB 3,000 GB 4,000 GB
可加流量 $0.60/每月每GB $0.60每月每GB $0.60/每月每GB
备份空间 2 GB 2 GB 2 GB
可加备份空间 $25.00安装费$10.00/每10 GB $25.00 Setup$10.00 / 10 GB $25.00 Setup$10.00 / 10 GB
Plesk $10 install
10 domains – $10/month
100 domains – $35/month
Unlimited domains – $45/month
Language Pack – $6/month
Power Pack – $15/month
$10 install
10 domains – $10/month
100 domains – $35/month
Unlimited domains – $45/month
Language Pack – $6/month
Power Pack – $15/month
$10 install
10 domains – $10/month
100 domains – $35/month
Unlimited domains – $45/month
Language Pack – $6/month
Power Pack – $15/month
IP 地址 5 5 5
可加IP 1-3 $3.95/个 1-3 $3.95/个 1-3 $3.95/个
Clustered, Load-BalancedServers 起价 $12.50每月加设置费 起价 $12.50每月加设置费 起价 $12.50每月加设置费
SSH
MySQL Databases
MSSQL Databases $40每月每processor $40每月每processor $40每月每processor
Ecommerce
SSL Certificate Install 免费 免费 免费
Managed Hosting Lite $9.99/月 $9.99/月 $9.99/月
Managed Hosting Intense $39.99/month $39.99/month $39.99/month

*Free Setup: 购买3个月以上免设置费,否则需要设置费$99。退款时,设置费,域名注册费不退

原创文章,转载请注明: 转载自LunarPages美国jsp主机

本文链接地址: Lunarpages独立主机介绍

文章的脚注信息由WordPress的wp-posturl插件自动生成