confused and need help with IIS 6 install
4 posts
• Page 1 of 1
confused and need help with IIS 6 install
I'm sorry if this is a question that may have been answered, but i just need some clarification.
I have a windows 2003 server installed. Its running about 25 websites right now. I have one website that i want to create a URL shorten script for.
I installed the program and setup the web server extensions and the ISAPI Filters - its marked with the GREEN up arrow
now i want to implement this and this is where i am not sure what needs to be done.
I want to take a web page www.mysite.com/index.asp?id=400 and shorten that to a URL such as www.mysite.com/banbear/
What do i need to do? The httpd.ini file is under the programs installation folder - do i need to create and move files from that folder to my inetput www root folder for this website?
Sorry if this is a trivial question, but i have read through documentation and honestly i just don't understand what needs to be done in order to accomplish my results. Any help you can give is much appreciated.
thank you
I have a windows 2003 server installed. Its running about 25 websites right now. I have one website that i want to create a URL shorten script for.
I installed the program and setup the web server extensions and the ISAPI Filters - its marked with the GREEN up arrow
now i want to implement this and this is where i am not sure what needs to be done.
I want to take a web page www.mysite.com/index.asp?id=400 and shorten that to a URL such as www.mysite.com/banbear/
What do i need to do? The httpd.ini file is under the programs installation folder - do i need to create and move files from that folder to my inetput www root folder for this website?
Sorry if this is a trivial question, but i have read through documentation and honestly i just don't understand what needs to be done in order to accomplish my results. Any help you can give is much appreciated.
thank you
Re: confused and need help with IIS 6 install
Hello,
You need to put the following rules in httpd.ini in the root of your site:
[ISAPI_Rewrite]
RewriteRule /index.asp\?id=400 http\://www.mysite.com/banbear/ [I,RP]
RewriteRule /banbear/ /index.asp\?id=400 [I,L]
You need to put the following rules in httpd.ini in the root of your site:
[ISAPI_Rewrite]
RewriteRule /index.asp\?id=400 http\://www.mysite.com/banbear/ [I,RP]
RewriteRule /banbear/ /index.asp\?id=400 [I,L]
Re: confused and need help with IIS 6 install
I have a similar question for an Windows 2003 IIS 6 server:
My customer has some old pages that are indexed in search engines that no longer exist and they want those pages redirected to a new page on the server.
The old URL looks like this:
http://www.domainname.com/pc/viewCatego ... ategory=61
New URL looks like this:
http://www.domainname.com/catalog/pc/viewCategories.asp
What is the correct syntax to put in the httpd.ini file in the root folder for my website?
Currently the only code I have in teh httpd.ini file is:
[ISAPI_Rewrite]
# Custom rules
RewriteEngine On
My customer has some old pages that are indexed in search engines that no longer exist and they want those pages redirected to a new page on the server.
The old URL looks like this:
http://www.domainname.com/pc/viewCatego ... ategory=61
New URL looks like this:
http://www.domainname.com/catalog/pc/viewCategories.asp
What is the correct syntax to put in the httpd.ini file in the root folder for my website?
Currently the only code I have in teh httpd.ini file is:
[ISAPI_Rewrite]
# Custom rules
RewriteEngine On
Re: confused and need help with IIS 6 install
I finally figured out the correct syntax. Should be:
RewriteRule /catalog/pc/viewCategories.asp\?idCategory=61 /catalog/pc/viewCategories.asp [I,RP]
RewriteRule /catalog/pc/viewCategories.asp/ /catalog/pc/viewCategories.asp\?idCategory=61 [I,L]
Works perfectly.
RewriteRule /catalog/pc/viewCategories.asp\?idCategory=61 /catalog/pc/viewCategories.asp [I,RP]
RewriteRule /catalog/pc/viewCategories.asp/ /catalog/pc/viewCategories.asp\?idCategory=61 [I,L]
Works perfectly.
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests