Dec 16, 2009 at 8:33 PM
Edited Dec 16, 2009 at 8:34 PM
Sorry, I may not have be clear. Individually, each set of the rules above have desired and undesirable results. I'm thinking I need some combination of these to make WordPress happy.
When using only this rule:
RewriteRule . /index.php [I]
I can ONLY view the Home page, but no styles from the linked stylesheet are applied to the page. Stylesheet is located in /wp-content/themes/default/style.css. Clicking on any links to other pages, public ( /ANY-PAGE) or admin (under /wp-admin directory)
results in the Home page redisplaying. For example, clicking on Site Admin changes the url to domain.com/wp-admin, but the Home page is what gets redisplayed.
This seems to indicate that a rule is necessary to read files under /wp-[...] directories.
When using these rules:
RedirectRule ^/index\.php/(.*)$ /$1 [I,R=301]
RewriteRule ^/(?!index\.php|wp-)(.*)$ /index.php/$1 [I,L]
Pointing the browser to the domain name without appending /index.php results in 404 page error ("The page cannot be found"). When pointing to /index.php, the Home page displayed properly with all styles applied. All site admin pages are also
accessible and display properly. However, pointing the browser to any pages besides index.php or pages under /wp-[...] directories results in the CGI Error: The specified CGI application misbehaved by not returning a complete set of HTTP headers.
The WordPress app at this domain has Permalink Settings set to Custom Structure = /%postname%/
IIRF is working exceptionally well on Drupal sites on the same server. Not sure if it matters, but both Drupal and WordPress sites are using FatsCGI handler.
Does this description help define the problem? What can I try?