Statusnet Research SeriesStatusnet Research (1): Introduction of statusnet research (2): Basic installation of statusnet Research (3): friendly URL and openid support of statusnet Research (4): quick installation of statusnet Research (5 ): support for Jabber/Gtalk
Friendly URLFriendly URLs, also known as pretty URLs or fancy URLs, are designed to provide simple and beautiful URL addresses for the client to improve ease of use and search engine optimization. Here, Apache rewrite is used to achieve URL-friendly statusnet. 1. Set htaccess under the root directory of statusnet. rename the sample file to the configuration file (accessfilename) of Apache ). htaccess (in Windows, you cannot rename it directly. You need to rename it using a command at a command prompt ). 2. Edit again. htaccess: Modify rewritebase/mublog/according to the actual statusnet directory, such as rewritebase/or rewritebase/statusnet/3. Enable Apache to support configuration file rewriting, set AllowOverride all4, in config. add configuration in PHP: $ config ['SITE'] ['fancy '] = true;
Openid supportedOpenid is becoming increasingly popular. Using openid makes it much easier to register and log on to websites. Enabling statusnet is very simple to support openid. 1. Slave = true;
Possible problems1. When using the openid function, the following error occurs: "openid: Fatal error: Define auth_openid_rand_source as null to continue with an insecure random number generator. solution: In the openid client program AUTH/openid/cryptutil. in PHP, find "define ('auth _ openid_rand_source '," and change this row to: Define ('auth _ openid_rand_source', null ); 2. When openid is used, an unfound method is displayed or a prompt indicating that the database table does not exist. Solution: Download The openid client program of the appropriate version, statusnet of version 0.8.2 is compatible with PHP-openid of version 2.1.3.
Author: canbeing Source: Linear.