Quote Originally Posted by Feznizzle View Post
I have a zc155e with torvista's version of CEON URI.

Today I noticed that the .htaccess contains a reference to my renamed admin folder:
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin_renamed [NC]

This left me with some questions.

FIRST:
Can the .htaccess be sniffed out? Or is it readable only by my server?

SECOND:
Can I safely remove that "don't rewrite" reference altogether? I experimented with that, deleting it from my .htaccess entirely. There seem to be no problems whatsoever.

THIRD:
I found some code (haven't experimented with it yet) for denying access:


Would applying that code cause any problems?
Quote Originally Posted by Feznizzle View Post
Never mind, sorry!

Apache is configured by default to deny access to ht files.
Glad you figured 1 and 3 out on your own and posted back.
Regarding 2, it somewhat depends on how the directory is called/used. Basically though without an exclusion of the directory, then if that directory is added to the url, it will attempt to be rewritten. If there is no rewrite for that portion of the path then the response will be as if a page is not found, even though the contents may be present.

As the installation test diagnostics indicate, there are various ways that the htaccess can be written to perform the identification of the need to rewrite or to go directly to a folder/file. The specific method implemented prevents access to a new folder that is added to the server by way of the web browser if it is not added to the exclusion list. Another method of implementation is to evaluate the browser path, determine if the path identifies a folder or file, if it does then use that path otherwise send it to be processed by ZC which would perform the rewriting.