[Mono-dev] Cannot get UrlRewriter.net to work with Mono 2.6.7
Rafael Teixeira
monoman at gmail.com
Tue Aug 24 13:29:44 EDT 2010
Have you run MoMA on that dll, to see if doesn't native windows libs,
or some unsupported managed API?
http://www.mono-project.com/MoMA
I don't know why you want to use a third-party dll to do what already
can be done with Mono itself, AFAIR, but alas, good luck.
Rafael "Monoman" Teixeira
---------------------------------------
"We live in a world operated by science and technology. We have also
arranged things so that almost no one understands science and
technology. This is a prescription for disaster. We might get away
with it for a while, but sooner or later this combustible mixture of
ignorance and power is going to blow up in our faces."
-Carl Sagan
On Mon, Aug 23, 2010 at 11:02 PM, Matthew Urbano
<matthew.urbano at trailerpark.com> wrote:
> I'm trying to rewrite some URLs using Intelligencia.UrlRewriter.dll from
> UrlRewriter.net. I have added the reference to the dll, placed the dll in
> the site's bin folder, and added the following lines to my web.config
>
>
>
> <configSections>
>
> <section name="rewriter" requirePermission="false"
> type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler,
> Intelligencia.UrlRewriter" />
>
> </configSections>
>
>
>
> <httpModules>
>
> <add name="UrlRewriter"
> type="Intelligencia.UrlRewriter.RewriterHttpModule,
> Intelligencia.UrlRewriter"/>
>
> </httpModules>
>
>
>
> <rewriter>
>
> <rewrite url="~/fr/(.+).aspx" to="~/$1.aspx" />
>
> </rewriter>
>
>
>
> I built the application and uploaded the files to my http directory on a
> remote CentOS server where I have Mono 2.6.7 built and installed from
> source.
>
>
>
> So to test I tried to go to "www.mydomain.com/fr/Default.aspx" hoping that
> it would just take me to the Default.aspx page in the root, but I get a 404
> error instead.
>
>
>
> Locally, I am using the Visual Studio 2010 plug-in, and I have a local
> MonoTools server running on a VMWare Virtual Machine. From VisualStudio,
> when I run the site using my local MonoTools server the rewriting works as
> expected.
>
>
>
> Am I missing something on my remote server? I really don't know what I need
> to do in order to get this working.
>
>
>
> --
> Matthew Urbano | Web Developer
> Trailer Park Interactive
> 6922 Hollywood Blvd., 7th floor
> Hollywood, CA 90028
> T: 310-845-3021
> M: 305-790-1805
> matthew.urbano at trailerpark.com
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
More information about the Mono-devel-list
mailing list