Welcome Guest, Not a member yet? Register   Sign In
how do you bypass .htaccess?
#1

[eluser]Unknown[/eluser]
i've set codeigniter to do: domainname.com/home instead of domainname.com/index.php?var=home by editing .htaccess.

i now have magento folder, so whenever i do: domainname.com/magento, .htaccess tries to use codeigniter's "index.php" to process "magento" and results in error. i just want to install magento separate from codeigniter.

How do I bypass this and still be able to use codeigniter?
#2

[eluser]cahva[/eluser]
This is in the userguide:
Quote:RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

That RewriteCond is translated: if url doesnt start with index.php, images or robots.txt then rewrite the url.
I you have similar, add magento folder to RewriteCond.
#3

[eluser]Unknown[/eluser]
right.. i should have looked into the user guide first, thank you!




Theme © iAndrew 2016 - Forum software by © MyBB