RewriteRule mt/mt-xmlrpc.cgi engine/handlers/xml-rpc_handler.php RewriteRule xml-rpc.php engine/handlers/xml-rpc_handler.php RewriteRule ^pg/(+)$ engine/handlers/page_handler.php?handler=$1&% # of 404 errors beyond the front page, you could instead try: # If you're not running Elgg in a subdirectory on your site, but still getting lots # containing the path from your site root to elgg's root. # If Elgg is in a subdirectory on your site, you might need to add a RewriteBase line # Add Proper MIME-Type for Favicon to allow expires to work SetEnvIfNoCase Request_URI actions/* no-gzip dont-vary SetEnvIfNoCase Request_URI action/* no-gzip dont-vary # get changed in the script) get double compressed and become unusable when downloaded by IE. # may offer direct downloads which (since the initial request comes in as text/html and headers # The following is to disable compression for actions. Header append Vary User-Agent env=!dont-vary # Important note: mod_headers is required for correct functioning across proxies.ĪddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/x-javascriptīrowserMatch ^Mozilla/4 gzip-only-text/html Mod_gzip_item_exclude reqheader "User-Agent. # Exclude old browsers and images since IE has trouble with this Mod_gzip_item_include mime ^application/x-javascript$ Mod_gzip_item_include mime ^application/javascript$ # on development servers, set to 1 to display errors. # upload_max_filesize is the maximum size of a single uploaded file (5 MB) # post_max_size is the maximum size of ALL the data that is POST'ed to php at a time (8 MB) # register_globals is deprecated as of PHP 5.3.0 - disable it for security reasons. # limit the maximum memory consumed by the php script to 64 MB htaccess with the Elgg rewrite rules should look something like this: It does not test if those rewrite rules are in place. That rewrite test will only tell you if your server environment is capable of using Elggs rewrite rules.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |