Welcome Guest, Not a member yet? Register   Sign In
htaccess exclude sub-directory in the url rewriting.
#1

[eluser]Atas[/eluser]
Hello, I have the following .htaccess:

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|cgi-bin|assets|blog|sitemap\.xml|export)
RewriteRule ^(.*)$ index.php/$1? [L]

I want to know how to exclude a sub-directory (e.g. "blog/images") in the url rewriting (RewriteCond line). In the .htaccess I can only exclude a directory, if I want to exclude a subdirectory (a directory within a directory) I can't do it.

Any help would be appreciated.
Thanks,


Messages In This Thread
htaccess exclude sub-directory in the url rewriting. - by El Forum - 07-03-2008, 12:56 PM
htaccess exclude sub-directory in the url rewriting. - by El Forum - 07-03-2008, 02:04 PM
htaccess exclude sub-directory in the url rewriting. - by El Forum - 07-03-2008, 02:50 PM
htaccess exclude sub-directory in the url rewriting. - by El Forum - 07-03-2008, 03:02 PM
htaccess exclude sub-directory in the url rewriting. - by El Forum - 07-03-2008, 11:19 PM
htaccess exclude sub-directory in the url rewriting. - by El Forum - 07-04-2008, 07:57 AM
htaccess exclude sub-directory in the url rewriting. - by El Forum - 07-04-2008, 08:17 AM
htaccess exclude sub-directory in the url rewriting. - by El Forum - 07-04-2008, 08:31 AM
htaccess exclude sub-directory in the url rewriting. - by El Forum - 10-07-2008, 01:35 PM
htaccess exclude sub-directory in the url rewriting. - by El Forum - 10-07-2008, 02:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB