[eluser]marcoslavorato[/eluser]
Hello all. I have a CI application running on my server root and a Wordpress blog on /blog folder. The application runs fine, but the Wordpress stay in conflict with my application. How can I add a exception for blog folder, to use your own .htaccess file?!
App .htaccess
Code:
Options -Indexes
Options +FollowSymLinks
DirectoryIndex index.php
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
AddDefaultCharset UTF-8
<FilesMatch "\.(gif|png|jpg|swf)$">
ExpiresActive On
ExpiresDefault "access plus 10 years"
</FilesMatch>
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
FileETag none
Wordpress /blog folder .htaccess
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Thanks in advanced!
Marcos