Ok, I'm in something now...

I look to the rails guys how install ruby on rails under IIS.

I get this:

http://made-of-stone.blogspot.com/2006/01/rails-on-iis-revisited.html

And with

http://urlrewriter.net/index.php/using/installation/windows-server-2003

I was able to get close...

I install FastCGI for windows and configure the fcgi file this way:

from flup.server.fcgi_fork import WSGIServer
#from flup.server.fcgi import WSGIServer
from flup.middleware.gzip import GzipMiddleware

from django.core.handlers.wsgi import WSGIHandler

sys.path.insert(0, 'E:\\Proyectos\\Python\\jhonWeb\\')
os.environ['DJANGO_SETTINGS_MODULE'] = 'jhonWeb.settings'

handler = WSGIHandler()
handler = GzipMiddleware(handler)
WSGIServer(handler).run()

I try to the default way in django site

I setup the urlrewrite like this:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
        <configSections>
                <section name="rewriter"
type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler,
Intelligencia.UrlRewriter" />
        </configSections>
        <rewriter>
                <if url="^(/[^.]+)$" rewrite="jhonWeb.fcgi?$1" />
        </rewriter>
        <system.web>
                <httpModules>
                        <add
type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter"
                                name="UrlRewriter" />
                </httpModules>
        </system.web>
</configuration>

And I get:


The virtual path '/jhonWeb.fcgi' maps to another application, which is
not allowed

I allow the fastcgi.dll for .fcgi files and configure the registry. I
follow the steps of the ruby on rails info I point before.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to