SourceForge free space application and usage notes
- SourceForge free space to install WordPress blog Program
- WordPress Blog Program installation file upload needs to use the tool WINSCP.
- You need to fill in the FTP address is: web.sourceforge.net, FTP user named "User name, project name", FTP password and login password.
- You need to place the installation files in the spatial root "htdocs" folder.
- Download the latest version of WordPress, find the WordPress folder under the wp-config-sample.php, and modify the file name to wp-config.php file. (If the file name is wp-config.php, you do not need to modify it, wordpress3.2 the later version file is named wp-config-sample.php).
- Edit the database configuration in the wp-config.php file under the WordPress folder. Note: In the "MySQL" hostname, different people are not the same, depending on the management address of the MySQL page in SourceForge change, for example, my hostname is: myql-i (is the database management URL in the previous section).
- The extracted WordPress files are all selected upload, uploaded to the "Htdocs" folder.
- Now, open your SourceForge free space address (the free space address is:/HTTP//project name SourceForge.net), then it will automatically jump to the installation interface, or use the following address to install:/http Project name. sourceforge.net/wp-admin/install.php can be.
- SourceForge free space to add. htaccess file Issues
- Because the SourceForge free space in the file permissions are more restrictive, so if you find the use of WordPress problems, mostly because the file permissions are not modified, for example, modify the fixed link, the default due to non-writable permissions, Therefore, the. htaccess file is not automatically generated, so you need to add it manually.
- Create a new text locally, and then copy the code into the text file, upload the text to the root of the space, and rename it to. htaccess.
# BEGIN WordPress
<ifmodule mod_rewrite.c>
Rewriteengine on
Rewritebase/
Rewriterule ^index\.php$-[L]
Rewritecond%{request_filename}!-f
Rewritecond%{request_filename}!-d
Rewriterule. /index.php [L]
</IfModule>
- After uploading, in WinSCP, right-click the file and select "Properties", you need to modify the file attributes to "777", that is, file management support can read and write, can create folders and so on.
- SourceForge free space to enable gzip compression to speed up access issues:
Use. htaccess to start gzip Web compression. This method is achieved through the Apache enabling compression. Please download your. htaccess file back via FTP, if not please use Notepad to create one, save as type Please select all documents, then file name enter. htaccess. In the. htaccess file, add the following syntax, and then save the upload overlay.
<ifmodule mod_deflate.c>
# Insert Filters
Addoutputfilterbytype DEFLATE Text/plain
Addoutputfilterbytype DEFLATE text/html
Addoutputfilterbytype DEFLATE Text/xml
Addoutputfilterbytype DEFLATE Text/css
Addoutputfilterbytype DEFLATE Application/xml
Addoutputfilterbytype DEFLATE Application/xhtml+xml
Addoutputfilterbytype DEFLATE Application/rss+xml
Addoutputfilterbytype DEFLATE Application/javascript
Addoutputfilterbytype DEFLATE Application/x-javascript
Addoutputfilterbytype DEFLATE application/x-httpd-php
Addoutputfilterbytype DEFLATE application/x-httpd-fastphp
Addoutputfilterbytype DEFLATE Image/svg+xml
# Drop Problematic Browsers
Browsermatch ^MOZILLA/4 gzip-only-text/html
Browsermatch ^mozilla/4.0[678] No-gzip
Browsermatch Bmsi[e]!no-gzip!gzip-only-text/html
# Make sure proxies don ' t deliver the wrong content
Header Append Vary user-agent env=!dont-vary
</IfModule>
- SourceForge free space to resolve cache not refreshed issues:
Header file to add the
<?php
SF. NET space to cache
Header ("last-modified:".) Gmdate ("D, D M Y h:i:s"). "GMT");
Cache Update Time
Header ("Cache-control:no-cache, Must-revalidate, No-store, No-cache, Must-revalidate, post-check=0, pre-check=0");
Do not cache Web pages
Header ("Pragma:no-cache")
?>
?
?
Note:
SourceForge space is completely free, but the speed is general, and about file read and write problem is also more annoyed, and it is in the engineering space, so the support of FTP is not good, file upload what is more troublesome. In addition, this space is the same as Gae, SAE, is used to do open source projects, so do not waste resources.
?
?
^_^ Bruce Lone
2015-2-6
SourceForge free space application and usage notes