EE v2.2.1 - Build: date 20110705
My .htaccess file works fine for everything, it is included here.
When I search for a term, I just get the home page.
Search code:
<div id="searchBox">
{exp:search:simple_form channel="not contact|widgets-basic|glossary" result_page="search/index" no_result_page="search/noresults" search_in="entries" status="open" form_id="searchy" name="searchy"}
<fieldset>
<label for="keywords" class="hide">Search this site:</label>
<input type="text" class="textinput" name="keywords" id="keywords" value="" maxlength="100" />
<input type="submit" value="Search" id="searchSubmit" class="button" />
</fieldset>
{/exp:search:simple_form}
</div>.htaccess
# -- NSM .htaccess Generator Start --
# .htaccess generated by NSM .htaccess Generator v1.1.4
# @see: <a href="http://ee-garage.com/nsm-htaccess-generator">http://ee-garage.com/nsm-htaccess-generator</a>
# For more awesome .htaccess rules and optimisations
# checkout the HTML5 Boilerplate .htaccess files
# <a href="https://github.com/paulirish/html5-boilerplate/blob/master/.htaccess">https://github.com/paulirish/html5-boilerplate/blob/master/.htaccess</a>
# Although highly unlikely, your host may have +FollowSymLinks enabled at the root level,
# yet disallow its addition in .htaccess; in which case,
# adding +FollowSymLinks will break your setup (probably a 500 error),
# so just remove it, and your rules should work fine.
# Options +FollowSymlinks
# EE 404 page for missing pages
ErrorDocument 404 /index.php/home/index
# Simple 404 for missing files
<FilesMatch "(\.jpe?g|gif|png|bmp|css|js|flv)$">
ErrorDocument 404 "File Not Found"
</FilesMatch>
# Rewriting will likely already be on, uncomment if it isnt
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
</IfModule>
# Block access to "hidden" directories whose names begin with a period. This
# includes directories used by version control systems such as Subversion or Git.
<IfModule mod_rewrite.c>
RewriteRule "(^|/)\." - [F]
</IfModule>
# remove the www - Uncomment to activate
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
</IfModule>
# Remove the trailing slash to paths without an extension
# Uncomment to activate
# <IfModule mod_rewrite.c>
# RewriteRule ^(.*)/$ /$1 [R=301,L]
# </IfModule>
# Remove index.php
# Uses the "include method"
# <a href="http://expressionengine.com/wiki/Remove_index.php_From_URLs/#Include_List_Method">http://expressionengine.com/wiki/Remove_index.php_From_URLs/#Include_List_Method</a>
# <IfModule mod_rewrite.c>
RewriteCond %{QUERY_STRING} !^(ACT=.*)$ [NC]
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5})$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/(home|includes|resources|widgets|about|education|technical-assistance|research|test|accessibility|sitemap|contact|entry-includes|page-includes|search|contributors|_DOCUMENTATION|calendar-testinc|calendar-testmain|members|P[0-9]{2,8}) [NC]
RewriteRule (.*) /index.php/$1 [L]
# -- NSM .htaccess Generator End --