Jump to content


Photo

ProcessWire on Windows7/2008 Server with IIS WebServer


  • Please log in to reply
6 replies to this topic

#1 nikola

nikola

    Sr. Member

  • Members
  • PipPipPipPip
  • 224 posts
  • 81

  • LocationZagreb, Croatia

Posted 19 June 2011 - 09:39 AM

Hi to all,

As I've mentioned earlier to Ryan, ProcessWire runs fine on Windows 7/2008 Server setup with IIS 7.5 WebServer with IIS Mod-Rewrite from Micronovae that can read .htaccess file. The problem is that this IIS filter is free for development use on localhost without limitations but it's not free for production use on live server (it costs $150 per server license).

I've found another solution that works flawlessly and it's absolutely free.

  • Download URL Rewrite Module 2.0 for IIS from http://www.iis.net/download/urlrewrite and install it
  • Define new web site under "sites" in IIS Manager and point it to directory where you've unzipped ProcessWire files
  • Download web.config (translated from original .htaccess) file from this post, unzip it and put it in ProcessWire root directory
  • Delete .htaccess file (because you don't need it any more).

I hope that this will help someone if the need arises for ProcessWire use on this kind of install.

Attached Files


Check out my ProcessWire admin themes: Futura Remixed Admin Theme / Moderna Admin Theme / Futura Admin Theme

#2 ryan

ryan

    Hero Member

  • Administrators
  • 5,753 posts
  • 3102

  • LocationAtlanta, GA

Posted 20 June 2011 - 09:13 AM

Thanks for posting! I'm sure this will definitely help out many people looking to install on IIS. I need to link to this post in a couple other spots too.

#3 Svet

Svet

    Jr. Member

  • Members
  • PipPip
  • 14 posts
  • 3

Posted 21 April 2012 - 08:42 AM

Members - thank you for that :) :)
Works great... Unfortunately go daddy dont let you install exe files unless your account is dedicated server.
We will have to 'downgrade' to linux

#4 ryan

ryan

    Hero Member

  • Administrators
  • 5,753 posts
  • 3102

  • LocationAtlanta, GA

Posted 23 April 2012 - 11:39 AM

I would consider that an upgrade. :)

#5 onjegolders

onjegolders

    Hero Member

  • Members
  • PipPipPipPipPip
  • 788 posts
  • 205

  • LocationMidlands, UK

Posted 06 November 2012 - 09:10 AM

Thanks Nikola this helped me get a site up and running!

#6 jamestflynn

jamestflynn

    Starter

  • Members
  • 1 posts
  • 1

Posted 22 February 2013 - 02:02 PM

Thanks this was helpful. Only change I had to make was for this section:

 

 

                <denyUrlSequences>
                    <add sequence="inc" />
                    <add sequence="info" />
                    <add sequence="module" />
                    <add sequence="sh" />
                    <add sequence="sql" />
                    <add sequence="\..*" />
                </denyUrlSequences>
 
I had to remove the  <add sequence="module" /> line. It gave me a 404 for the module section in the admin until I removed that.


#7 zlojkashtan

zlojkashtan

    Jr. Member

  • Members
  • PipPip
  • 12 posts
  • 0

  • LocationKiev region

Posted Yesterday, 07:58 AM

Thanks this was helpful. Only change I had to make was for this section:

 

 

                <denyUrlSequences>
                    <add sequence="inc" />
                    <add sequence="info" />
                    <add sequence="module" />
                    <add sequence="sh" />
                    <add sequence="sql" />
                    <add sequence="\..*" />
                </denyUrlSequences>
 
I had to remove the  <add sequence="module" /> line. It gave me a 404 for the module section in the admin until I removed that.

After adding this piece of code I had a problem with the URLs (/information/, /show-all/ etc. ). This manifested itself even in the names of pictures.(trash.png, showreel.png) The problem is that you forgot to put the points. Right?

 

                <denyUrlSequences>
                    <add sequence=".inc" />
                    <add sequence=".info" />
                    <add sequence=".sh" />
                    <add sequence=".sql" />
                    <add sequence="\..*" />
                </denyUrlSequences>





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users