Search code examples
.htaccessurl-rewritingexpressionengine

Expression Engine - template page not showing


I have two pages on a site that I just completed that are no longer showing. I am running EE 2.2.2 and use .htaccess to hide the index page.

There are several templates in the same directory, all but two of them show correctly. For example:

This shows correctly: http://southernlivingplants.com/landscape

While these two do not:

http://southernlivingplants.com/grower
http://southernlivingplants.com/retailer

I get the following error message:

Index of /retailer

Parent Directory

Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at southernlivingplants.com Port 80

The problem I see is that neither /retailer or /grower are directories.

Here is the htaccess code:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]

I would appreciate some help in figuring this out.


Solution

  • Alas, user error. Someone else had created folders of the same name, which were in conflict with the template names.