|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
http://www.laughingspace.com/
比较烦
要cron:
From your Cpanel Select Cronjob (under Advanced and then select Standart)
You have to crate a string which you have to enter in the field “°Command to ru”¡To generate the string go to www.put_your_site_url_here/getcwd.php
The string should look like php -q /home/mydailyf/public_html/cron.php
Select the minutes, hours, and days when you want your script to run to refresh the data. (see the screenshot on page 2)
Click on “°SaveCronta”¡±
Htaccess也烦:
<Files *.xml>
Deny from All
</Files>
Options +FollowSymLinks
Options -Indexes
SetEnvIfNoCase User-Agent "^Maxtor.*$" ban
<Limit GET POST>
Order Allow,Deny
Allow from all
Deny from env=ban
</Limit>
RewriteEngine on
#common
RewriteRule ^index.html$ index.php [L]
RewriteRule ^lastmovies.html$ index.php?showlast=1&categoryId1=$1 [L]
RewriteRule ^lastpictures.html$ index.php?showlast=1&categoryId2=$5 [L]
RewriteRule ^index.html/funnyvideos/([0-9]+)/funnypictures/([0-9]+)/page/([0-9]+)/([0-9]+)$ index.php?categoryId1=$1&categoryId2=$2&page1=$3&page2=$4 [L]
RewriteRule ^index.html/funnyvideos/([0-9]+)/funnypictures/([0-9]+)/page/([0-9]+)$ index.php?categoryId1=$1&categoryId2=$2&page1=$3 [L]
RewriteRule ^index.html/funnypictures/([0-9]+)/funnyvideos/([0-9]+)/page/([0-9]+)$ index.php?categoryId1=$2&categoryId2=$1&page2=$3 [L]
RewriteRule ^index.html/funnyvideos/([0-9]+)/funnypictures/([0-9]+)$ index.php?categoryId1=$1&categoryId2=$2 [L]
RewriteRule ^index.html/funnypictures/([0-9]+)/funnyvideos/([0-9]+)$ index.php?categoryId1=$2&categoryId2=$1 [L]
RewriteRule ^search.html$ search.php [L]
RewriteRule ^search.html/keywords/(.*)/page/([0-9]+)$ search.php?keywords=$1&page=$2 [L]
RewriteRule ^voting.html index.php [L]
RewriteRule ^submit_media.html$ submit_media.php [L]
#view
RewriteRule ^view/(.*)/([0-9]+).html$ index.php?method=viewinfobox&id=$2 [L]
RewriteRule ^videos/([0-9]+)_(.*).html$ index.php?method=viewinfobox&id=$1 [L]
RewriteRule ^pictures/([0-9]+)_(.*).html$ index.php?method=viewinfobox&id=$1 [L]
RewriteRule ^addmyspacevideos.html$ ownitems.php [L]
RewriteRule ^addmyspacepictures.html$ ownitems.php?method=addmyspacepicture [L]
RewriteRule ^frametop.html$ index.php?method=topframe [L]
RewriteRule ^login.html$ index.php?method=login [L]
RewriteRule ^registration.html$ index.php?method=adduser [L]
RewriteRule ^logout.html$ index.php?method=logout [L]
RewriteRule ^activate-([0-9]+).html$ index.php?method=activate&id=$1 [L]
RewriteRule ^delete-([0-9]+).html$ index.php?method=deleteinfobox&id=$1 [L]
运行了一次就 500了 |
|