Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
isapi rewrite 3
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chillwabbitt  
View profile  
 More options Mar 24, 7:10 am
From: Chillwabbitt <chillwabb...@gmail.com>
Date: Tue, 24 Mar 2009 04:10:34 -0700 (PDT)
Local: Tues, Mar 24 2009 7:10 am
Subject: isapi rewrite 3
Hi

I have installed isapi rewite 3 from halicon, however I have one
blasted problem and it's more than likely a rule.

I can see the home page just fine with all it's styling and such,
however if I call a controller I have to do it as follows:
http://www.mydomain.co.za/index.php/controller/action; what the heck
am I doing wrong?

my main .htaccess file looks as follows:

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.62

        RewriteEngine on
        RewriteRule    ^$    webroot/    [L]
        RewriteRule    (.*) webroot/$1    [L]

my webroot .htaccess file looks as follows:

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.62

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond URL (?!/js/|/img/|/files/|/css/).*
    RewriteRule ^/(.*) /index.php?url=/$1 [L]
#    RewriteRule ^(.*) /index.php?url=/$1 [QSA, L]

Note: If I uncomment the last line the controllers work as expected
however then the main page fails to load - I'm lost

Thanks


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James K  
View profile  
 More options Mar 24, 10:00 am
From: James K <james.m.k...@gmail.com>
Date: Tue, 24 Mar 2009 07:00:18 -0700 (PDT)
Local: Tues, Mar 24 2009 10:00 am
Subject: Re: isapi rewrite 3
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]

These are the rewrite rules I use with isapi rewrite 3. I would also
recommend avoiding the use of a main .htaccess file and just properly
set the document root of your project in IIS.

On Mar 24, 7:10 am, Chillwabbitt <chillwabb...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google