isapi-rewrite

ISAPI ZEND url rewrite adding extra “/index.php/” into url

早过忘川 提交于 2020-01-15 03:53:20
问题 We recently reinstalled our web site on our server, the sys admin says it is an exact rebuild, and it indeed looks to me that it is, but there is something different going on. I did not originally develop the site, and those who did are no longer available. urls for the admin site are now //admin.site.com/index.php/schedules and used to be, and should be //admin.site.com/schedules The extra index.php is getting inserted in the url. But all links within the admin site do not include the index

ISAPI_Rewrite and Coldfusion Rules

我与影子孤独终老i 提交于 2020-01-06 21:32:48
问题 This is the first time that I am trying to use ISAPI_Rewrite and ColdFusion. My hosting company has a wiki which says I need to create an .htaccess file and add the following rules to it: RewriteEngine on RewriteRule ^(.*?\.cfm)/([^/]*)/([^/]*)(/.+)? $1$4?$2=$3 [NC,LP,QSA I have 8 main pages for my website: index.cfm products.cfm product-detail.cfm brands.cfm about.cfm contact.cfm specials.cfm gallery.cfm I have done that. What I would like to know is: Since I am new to this, are there any

ISAPI_Rewrite and Coldfusion Rules

匆匆过客 提交于 2020-01-06 21:31:34
问题 This is the first time that I am trying to use ISAPI_Rewrite and ColdFusion. My hosting company has a wiki which says I need to create an .htaccess file and add the following rules to it: RewriteEngine on RewriteRule ^(.*?\.cfm)/([^/]*)/([^/]*)(/.+)? $1$4?$2=$3 [NC,LP,QSA I have 8 main pages for my website: index.cfm products.cfm product-detail.cfm brands.cfm about.cfm contact.cfm specials.cfm gallery.cfm I have done that. What I would like to know is: Since I am new to this, are there any

Global.asax not firing for .aspx pages in IIS7

老子叫甜甜 提交于 2019-12-29 05:34:12
问题 We run a link redirection service which can handle links thrown at it in various formats. One of these formats is to append the destination URL to the end of the link, for example http://url.fwd/abcd/http://www.mydomain.com/page.aspx This was working on a Windows Server 2003 / IIS6 box for the last two years, but now we're trying to move to a Windows Server 2008 / IIS7 setup and its not working anymore. I've read about the problem with colons in the URL but it doesn't affect pages not ending

How to redirect a page in ISAPI_Rewrite

跟風遠走 提交于 2019-12-24 20:26:16
问题 I use ISAPI_Rewrite v2 and I have this rules: RewriteRule ^/cnvrt$ /convert [I,RP] RewriteRule ^/convert$ /convert.aspx [I,L] I want that whenever someone enter site.com/cnvrt it will redirect him to site.com/convert The problem with the above rule is that it just put a window that says the page can be found under this url: .... And what I want is to it redirect him to the page(that the url will change) I dont want to handle it in the code level. How can I do this? Thanks 回答1: This is a good

Why are blank pages being served with “200 OK” for asp.net errors in IIS 8.5 (Win 2012 R2)?

感情迁移 提交于 2019-12-18 14:57:03
问题 I've set up a new Windows 2012 R2 server running IIS 8.5. We noticed that when an error occurs (eg the ASP.NET State Service was not running) that instead of outputting a 500 status code error screen, the request actually returns a totally blank page (only headers - with no content). We obviously need to see the errors and serving 200 OK for an error could be very problematic for indexers like Google etc or any wesite monitoring tools (which would not notify us that the site had gone offline)

Pass subdomain as parameter

北城余情 提交于 2019-12-12 18:29:20
问题 I'm new to ISAPI_Rewrite & I'm terrible with regular expressions. I'm in need of a rewrite rule for ISAPI_Rewrite that will remove the subdomain and pass it as a parameter. For example: mysubdomain.mydomain.com should become mydomain.com/Landing.aspx?ID=mysubdomain I've found a regex that seems to match all subdomains except www , but I'm not sure how to then pass the subdomain as a parameter as the example above shows. ^((?:(?!www).)*) Any help would be appreciated. Note: I'm using the full

Convert isapi rewrite rules to IIS 7 rewrite

最后都变了- 提交于 2019-12-11 21:46:38
问题 I am using helicon isapi rewrite with vbSEO on vBulletin forums. I don't see any need to be using a separate isapi rewrite tool if I'm using IIS 7. Rewrite rules and regex are not my strength. If anyone can help me convert the info below into an IIS 7 url rewrite configuration I would greatly appreciate it. Thank you in advance. RewriteCond %{HTTP_HOST} .*vbdotnetforums.com RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %

Isapi Rewrite - preserving HTTPS in redirects behind load balancer

别来无恙 提交于 2019-12-11 14:53:30
问题 I'm running a site which has 2 separate sub-domains - one for HTTP and another for HTTPS. http://www.example.com https://secure.example.com http://secure.example.com does not exist and will not resolve. The problem is that the site is running behind a load balancer which handles all SSL. Communication between the load balancer and the web servers in always HTTP. So, when using Isapi Rewrite 3 (a mod_rewrite clone for IIS) to implement some redirects I'm running into a problem. As far as Isapi

Mod_rewrite - how to 301 redirect an old URL to a new one

只愿长相守 提交于 2019-12-02 18:48:36
问题 I need to grab some of my website's old URLs and do a 301 redirect to the new ones, since they are already indexed and we don't want to loose relevance after the change. The old URL is in fact very ugly and for some reason everything I try to do to rewrite it does not work. Here it is: http://www.mywebsite.com/ExibeCurso.asp?Comando=TreinamentoGeral&codCurso=136&Titulo=Como%20Estruturar%20um%20Sistema%20Gerencial%20de%20Controles%20Organizacionais,13 Basically, I need to translate it into