473,405 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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
Aug 7 '08 #1
5 3099
kenobewan
4,871 Expert 4TB
You could try adding it to the web extensions and see if that works...
Aug 7 '08 #2
You could try adding it to the web extensions and see if that works...

can you please explain about web extentions...
Aug 7 '08 #3
kenobewan
4,871 Expert 4TB
In IIS you can allow and disallow web extensions. Open IIS and look for web extensions.
Aug 9 '08 #4
hey you can use response object to redirect like

<% response.redirect "url" %>
Aug 30 '08 #5
kenobewan
4,871 Expert 4TB
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...
Aug 30 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Star | last post by:
Hi, I would like to do the following. If the user types this URL in the browser: http://www.mysite.com/john I want it to be redirected to http://www.mysite.com/showuser?user=john The...
52
by: Gerard M Foley | last post by:
Can one write a webpage which is not displayed but which simply redirects the user to another page without any action by the user? Sorry if this is simple, but I am sometimes simple myself. ...
15
by: Taki Jeden | last post by:
Hello everybody Does anybody know why w3c validator can not get pages that use 404 htaccess redirection? I set up two web sites so that clients request non-existent urls, but htaccess redirects...
8
by: Luciano A. Ferrer | last post by:
Hi! I was following the http://www.seomoz.org/articles/301-redirects.php article, trying to do that with one of my test sites I added this to the .htaccess file: RewriteEngine On RewriteCond...
13
by: Massimo Fabbri | last post by:
Maybe it's a little OT, but I'll give it try anyway.... I was asked to maintain and further develop an already existing small company's web site. I know the golden rule of "eternal" URIs, but...
0
by: xiaawan | last post by:
Is signin a keyword in .htaccess file ? because I am having problem using the following rule. RewriteRule signin http://www.mysite.com/index.php?cmd=superUser but it works with following url ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.