AAAAND here's the code from my .htaccess file.
Code:# $Id: .htaccess 1105 2005-04-04 22:05:35Z birdbrain $ # # This is used with Apache WebServers # The following blocks direct HTTP requests in this directory recursively # # For this to work, you must include the parameter 'Limit' to the AllowOverride configuration # # Example: # #<Directory "/usr/local/apache/htdocs"> # AllowOverride Limit # # 'All' with also work. (This configuration is in your apache/conf/httpd.conf file) # # This does not affect PHP include/require functions # # Example: http://server/catalog/includes/application_top.php will not work <Files *.php> Order Deny,Allow Deny from all </Files> ## Add these to your .htaccess file so that only one way to your site exists, either http://yoursite.com and http://www.yoursite.com ... the following adds the www if it's missing: ##RewriteEngine On ##RewriteCond %{HTTP_HOST} ^yoursite.com$ [NC] ##RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L] ## If you'd like your site to go to http://mysite.com instead of http://www.mysite.com, add these changes instead: ##RewriteEngine On ##RewriteCond %{HTTP_HOST} ^www.tiffstrinkets.com$ [NC] ##RewriteRule ^(.*)$ http://tiffstrinkets.com/$1 [R=301,L] ## the following makes sure the correct mime type is sent for the .htc file AddType text/x-component .htc


Reply With Quote
