Welcome Guest, Not a member yet? Register   Sign In
CI or Apache
#1

[eluser]nirbhab[/eluser]
hello everybody,

i facing a problem:
browse both the urls you will get to know the error, site is under construction.

http://www.findxl.com/findxl

http://www.findxl.com/findxl/

difference is of '/'
here is my .htaccess content.
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|user_guide|img|css|style|upload|js|xajax|ajax|javascript|jquery|images|image|system|robots\.txt)
RewriteRule ^(.*)$ /findxl/index.php/$1 [L]

Date of my coding is on my head, so please, i need help.........
waiting desperately....
#2

[eluser]Phil Sturgeon[/eluser]
Use a better .htaccess:

Quote:<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /findxl/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin

ErrorDocument 404 /index.php
</IfModule>

Failing that use the more simple part of it:

[quote]RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /findxl/index.php/$1 [L][/code]

OR just take it out of the sub-folder.
OR just take it out of the sub-domain. Other than h




Theme © iAndrew 2016 - Forum software by © MyBB