Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old August 7th, 2008, 09:34 AM
Newbie
 
Join Date: Jul 2008
Posts: 10
Default redirection problem with .htaccess

Hi,

I am new to IIS.In apache I am using .htaccess file for redirection.But in ISS its not working.How can I enable .htccess in ISS.Or is there any other way.

My .htccess file contains

RewriteEngine on
RewriteRule ^([^/]*\.html)$ index.php?page_request=$1&%{QUERY_STRING} [L]

Regards,
Roshin
Reply
  #2  
Old August 7th, 2008, 01:41 PM
kenobewan's Avatar
Moderator
 
Join Date: Dec 2006
Posts: 4,664
Default

You could try adding it to the web extensions and see if that works...
Reply
  #3  
Old August 7th, 2008, 06:47 PM
Newbie
 
Join Date: Jul 2008
Posts: 10
Default

Quote:
Originally Posted by kenobewan
You could try adding it to the web extensions and see if that works...

can you please explain about web extentions...
Reply
  #4  
Old August 9th, 2008, 02:03 PM
kenobewan's Avatar
Moderator
 
Join Date: Dec 2006
Posts: 4,664
Default

In IIS you can allow and disallow web extensions. Open IIS and look for web extensions.
Reply
  #5  
Old August 30th, 2008, 04:18 AM
Newbie
 
Join Date: Aug 2008
Age: 19
Posts: 4
Default

hey you can use response object to redirect like

<% response.redirect "url" %>
Reply
  #6  
Old August 30th, 2008, 02:07 PM
kenobewan's Avatar
Moderator
 
Join Date: Dec 2006
Posts: 4,664
Default

Quote:
Originally Posted by mukesh1989
hey you can use response object to redirect like

<% response.redirect "url" %>
This won't work unless the page is loaded in the first place, which it is not...
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles