Keith Devens .com |
Saturday, November 22, 2008 | ![]() |
| Premature abstraction is an equally grevious sin as premature optimization. – me | ||
|
| ← Boosting Trees applied to spam filtering? | Design of my CMS, or Template problem → |

August Trometer (http://blog.foggynoggin.com) wrote:
cagrET (http://g0su.net) wrote:
I have very similiar rule in my cms
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
There is only one problem with that.
I installed some scripts few weeks ago and authorization in admin panel was made with .htaccess & .htpasswd - and it didnt work
because of the rewrite conditions above ... looks like apache didnt recognize admin/ directory in those scripts as directory, huh ;/
http://example.com/ - main page, .htaccess with rewrite rules here
http://example.com/script/admin/ - admin panel in 3rd party scripts
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):
Generated in about 0.207s.
(Used 8 db queries)

Egads! What a perfect set of rewrite rules! With a little modification, this is exactly what I need for a project I'm working on. Thanks!