Tags: redirect htaccess 301
Htaccess Control 301 Directional
# Long domain-oriented short domain name, weight is one
rewriteengine on
rewritebase/
rewritecond%{http_host} ^www.mr8c.com [NC]
Rewriterule ^ (. *) $ http://mr8c.com/$1 [l,r=301] This code controls the www.mr8c.com domain name access requests Redirect to the Mr8c.com, realizes the long domain name to direct the short domain name, the weight unifies to the short domain name.2. Controlling static
The site is particularly bad? Robots text file to add site map, station optimization best choice! Before we discuss this topic, let's take a look at the concept and production of robots:Robots Text concept: This file is mainly for the search engine to see, the search engine when entering the site, First access to the FTP server robots.txt text, you need to set i
QQ mailbox transfer station ziprar compressed file preview using php is how to achieve? It is very powerful and suitable for me, but I don't know how to implement it. lt ;? Php $ zip = zip_open ( quot; your zip file, note the path, such as C: \ AppServ \ www/myzip.zip quot;); if ($ zip) QQ mailbox transfer station zi
rewrite.
Knowledge popularization is complete ....
Go to the chase.
How to make your own full station of the real static HTML file, into the gzip transfer it?
For ease of understanding, I wrote a simple PHP program for everyone.
First we create a l.php using the gzip compression algorithm, read the xxx.html in the file and display it, and then rewrite xxx.htm
complete ....
Get to the point.
How do you make your own full station of the real static HTML file that becomes gzip transmitted?
In order to understand the convenience, I wrote a simple PHP program for you.
First we set up a l.php using the gzip compression algorithm, read the xxx.html in the file and display it, then rewrite the xxx.html to 1.php in the. hta
First, the project is structured as follows:Added a public file, mainly managing common resources, compared to slices, styles, etc., unfold as followsSubfolders image is responsible for managing Web page pictures, style folder is responsible for managing Css,javascript and other styles, upload folder is responsible for managing user upload content, admin and home represent backstage and foreground respectively.The team folder is our project folder, wh
Html production simple framework webpage 2: implement the operation steps and source file download of your audio and video station (you can play the video playback code of mp4, avi, mpg, asx, and swf files ),
The new video playback function is as follows:
The left.html code of the left-side webpage is as follows:
A definition list
Playing videos in right6.html will be better. MP4 video files
Tested.
PHP cross-station file upload
An existing video site A, users can upload video.
b site to call a website interface upload video, two sites are not the same server.
A Web site with the Uploadify plug-ins. How to achieve Cross station upload?
------Solution--------------------
First of all to determine, A,b station
File StationYour well-documented centerFile station is a convenient document browser that allows you to manage and share any files stored on DiskStation. You can upload files from your Mac or PC with a simple drag-and-pull action, and when you want to share files with friends or colleagues, there are a variety of quick sharing tools to help you do that. Explore and manage all your files via DS
Label: 1. System Setup Path substitution Update Dede_sysconfigSet Value=‘Http://afish.cnblogs.com‘where varname=‘Cfg_basehost‘;update dede_sysconfig set value = /afish ' update dede_sysconfig set value = /afish ' 2. Path substitution in column articles Update dede_archivesSet Litpic=Replace (Litpic,‘/dcms/‘,‘/afish/‘);Update dede_addonarticleSet body=Replace (body,‘/dcms/‘,‘/afish/ ' ); update dede_addonimages set imgurls=replace (Imgurls, / Dcms/ ", /afish/ ' The main is the substitution of
Today, I accidentally saw a webmaster friend, talking about why he was not included in the new station, from the cause of the problem to solve the problem of a series of work. Feel more typical, many people may encounter, now posted out to share to everyone.
problem Reason:
The webmaster in the new station soon after, the site has a major internal bug (loophole). The webmaster first used robots.txt files
rewrite.
Knowledge popularization is complete ....
Go to the chase.
How to make your own full station of the real static HTML file, into the gzip transfer it?
For ease of understanding, I wrote a simple PHP program for everyone.
First we create a l.php using the gzip compression algorithm, read the xxx.html in the file and display it, and then rewrite xxx.html t
Release date:Updated on:
Affected Systems:Synology Photo Station 4.2-2304Synology Photo StationDescription:--------------------------------------------------------------------------------Bugtraq id: 56674
Synology Photo Station is a solution for sharing images, videos, and blogs on the Internet.
The/Photo/include/file_upload.php page of Synology photo Station
In the use of 360 cloud disk, there is a function of the Recycle Bin, we can mistakenly delete the file back, if we want to download the 360 cloud disk Recycling station file How to do? Small knitting This will tell you the specific procedures.
1, first we login 360 cloud disk.
360 Cloud Tray
2, into the "functional encyclopedia" = "Cloud Disk recycling
the MIME type of the file uploaded from the client.
$_files[' myFile ' [' Error '] and the file upload related error code. [' ERROR '] was added in version PHP 4.2.0. Here is a description of it: (they become constants after PHP3.0)Upload_err_okValue: 0; No error occurred and the file upload was successful.Upload_err_ini_sizeValue: 1; The uploaded
Binary System | skills | data | database
Yesterday, an outdated friend gave, a station of all the files and pictures in a binary way into the database, with the following code can be used to restore the database files and pictures.Change the resulting database name to Tomdb.mdb, and then save the following code in the VBS format. Put it in the same directory, execute the VBS file
Dim RS, WS, FSO, Conn, str
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.