1st, uncomment AddEncoding:
Code:
# AddEncoding x-compress .Z AddEncoding x-gzip .gz .tgz
Code:
# AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE application/x-httpd-php AddOutputFilterByType DEFLATE application/x-javascript
Code:
# AddType text/html .shtml .php .php3 .js .js.gz AddOutputFilter INCLUDES .shtml .php .php3 .js .js.gz
Any suggestions? It should not be hard for experienced programmers to figure this out.
Update: Just use savant's htaccess method to rewrite base_url. Don't change anything. Just rename htaccess.default to .htaccess (no need to uncomment php_value auto_prepend_file etc). Make sure you have these lines:
Code:
## Remove these two lines if you have a sub-domain like http://ashdigg.pligg.com or http://localhost
## Keep if your site it like http://www.pligg.com
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^\/?(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
##### Re-directing End #####








Linear Mode




