Problema con la reescritura de URL en host de alojamiento

  • Autor Autor LaDecima
  • Fecha de inicio Fecha de inicio
L

LaDecima

Curioso
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
As I just migrated to Spain, so my apologize if I write in English and I hope someone can help me.

Hi, I use hostforlife.eu windows hosting. I have one primary domain for my wordpress website.. I have other

asp.net websites hosted there under sub folders of this primary domain as I can have only one primary domain

and one root folder. I am trying to use url rewrite module for one of my asp.net application. For example I

am trying to rewrite this url

xyz.com/abc.aspx?a=1&b=2&c=3 to xyz.com/values-1-2-3

I have created below rewrite rule using URL Rewrite Module

<rewrite>
<rules>
<rule name="rewrite values" stopProcessing="true">
<match url="^values-(.+)-(.+)-(.+)" />
<action type="Rewrite" url="abc.aspx?a={R:1}&amp;b={R:2}&amp;c={R:3}" />
</rule>
</rules>
</rewrite>

The problem is that, above code is working fine on my local IIS7 server but its not working on

hostforlife.eu server. I think the problem is with folder structure as this website is hosted under a sub

folder of root directory. Also, I have checked for url rewrite module. It is working fine for my primary

application which is at root. Here is web config entry for the root application.

<rewrite>
<rules>
<rule name="wordpress" patternSyntax="Wildcard">
<match url="*"/>
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
</conditions>
<action type="Rewrite" url="index.php"/>
</rule>

</rules>
</rewrite>

Can someone please help me to resolve this issue?

Gracias...
 
Atrás
Arriba