Frank Summers reports a solution for a problem which causes pages to become inaccessible on a Joomla! site when Search Engine Friendly URLs are turned on.
It seems to have something to do with permissions on the Joomla! install directory, with a workaround via the $line_site variable in configuration.php.
Further information is available through Frank's link above and at Joomla.org.