Forum Moderators: phranque
/var/www/html/ /var/www/html/ciapp/ http://www.mysite.com/ciapp/ the main CI controller is accessed and executed correctly. http://www.mysite.com/ciapp/main/ http://www.mysite.com/ciapp/main/myfunction/ # BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress RewriteCond %{REQUEST_URI} !^/?ciapp # BEGIN WordPress
<IfModule mod_rewrite.c>
acceptpathinfo off
Options -Multiviews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/ciapp
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Options +FollowSymLinks -Indexes -Multiviews
#
RewriteEngine on
RewriteBase /
#
# Begin CodeIgniter
RewriteCond $1 \.(php|gif|jpe?g|png|ico|css|js)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ciapp/(.+)$ /ciapp/index.php [L]
# End CodeIgniter
#
# BEGIN WordPress
RewriteCond $1 \.(php|gif|jpe?g|png|ico|css|js)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /index.php [L]
# END WordPress