• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
URGENT: Problem with ? in url's

#5
[eluser]Bramme[/eluser]
[quote author="missionsix" date="1218595773"]Add any subfolders you don't want included onto the RewriteCond line. separate items with a Bar |, escape everything else

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|js|css|forums)
RewriteRule ^(.*)$ index.php/$1 [L,QSA]



PS

I remember MickM. Actually we used to exchange links, but it looks like you've abandoned my link since you switched versions.

Links Page[/quote]

I love you :p

changed to
Code:
Options -Indexes
Options +FollowSymLinks

DirectoryIndex index.php
<IfModule mod_rewrite.c>
    RewriteEngine on
    
    RewriteCond $1 !^(index\.php|forum)

    RewriteCond %{REQUEST_FILENAME} !index.php
    RewriteRule (.*)\.php$ index.php/$1
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [QSA,L]
    
</IfModule>
<IfModule !mod_rewrite.c>
    ErrorDocument 404 index.php
</IfModule>
and it works like a dream!


Messages In This Thread
URGENT: Problem with ? in url's - by El Forum - 08-12-2008, 03:39 PM
URGENT: Problem with ? in url's - by El Forum - 08-12-2008, 03:44 PM
URGENT: Problem with ? in url's - by El Forum - 08-12-2008, 03:49 PM
URGENT: Problem with ? in url's - by El Forum - 08-12-2008, 03:49 PM
URGENT: Problem with ? in url's - by El Forum - 08-12-2008, 03:58 PM
URGENT: Problem with ? in url's - by El Forum - 08-12-2008, 05:05 PM
URGENT: Problem with ? in url's - by El Forum - 08-13-2008, 01:02 AM
URGENT: Problem with ? in url's - by El Forum - 09-04-2008, 11:28 AM
URGENT: Problem with ? in url's - by El Forum - 09-04-2008, 01:04 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.