Jump to content

Processwire on IIS in 2016


Matt Cohen
 Share

Recommended Posts

Good morning everybody :)

I am wondering if anyone has a short guide in setting up PW Microsoft IIS Version 10 or if anyone has been able to successfully deploy it on IIS.

Currently building an intranet system with PW for my work, and currently all of their server technology is IIS and are unwilling to deploy a Linux machine

Any assistance or help with this would be absolutely fantastic :)

Link to comment
Share on other sites

I find it very easy to install PHP, URL Rewrite 2.0 and PHP manager with the help of Microsoft Web Platform Installer (WPI). Download and install WPI at http://www.microsoft.com/web/downloads/platform.aspx and then from the list of Products/Frameworks add PHP, from the list of Products/Tools add PHP Manager for IIS and from the list of Products/Server add URL Rewrite 2.0. Click "Install". Next download and install MySQL at https://dev.mysql.com/downloads/windows/installer/. You will need web.config, see attached zip. Run install.php and follow the instructions. 

 

webconfig.zip

  • Like 5
  • Thanks 1
Link to comment
Share on other sites

  • 2 years later...

I'm trying to run pw (intranet) on a IIS Server. Now I encountered permission issues:

It is only possible to create new pages (with file uploads), when permissions are set to "everybody is allowed to do everything". Obviously our server admin is not happy about this.

As I don't know anything about permission settings on IIS servers I'd be glad if someone could tell me what user should have which permissions.

And: when in config.php debug is set to true, the page tree in the back end is no more accessible.

Thanks for help.

Link to comment
Share on other sites

1 hour ago, joe_ma said:

Obviously our server admin is not happy about this. 

You need to use Application Pool Identities.  Those permissions need to be granted to the user that is set to be the Identity of the application pool in IIS. If you are lost with this feature then ask your sys admin to setup it or get back to us and I will try to give you some steps for setting up this account...

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Similar Content

    • By joeck
      Hi there,
      I'm trying to have a multi-site (multiple databases) setup on a IIS (Microsoft) server.
      I know that IIS is not officially supported by ProcessWire but customer is insisting on IIS.
      I get an 500 Error when trying to access the sub-domain/other processwire site.
      Did somebody do this before or is it not possible at all to have a multi-site setup on IIS?
      Thanks
    • By Matt Cohen
      Hi everybody, So it turns out PW works on IIS pretty well. Had very little issues in getting it to run and not many issues in getting it setup.... in a localhost environment. 
      I've been given a Windows Hyper-V server for the uses of my intranet that I've been building with PW. The only problem is now, I seem to be having issues whenever trying to log in. It doesn't recognize the admin user I created during installation, it simply redirects back to the /login/ page, with no error message. 
      Debugging shows the following message on the frontend login screen (not the backend). Localhost does not show this 
      When moving the dev machine to production, here are the steps I followed:
      Copied wwwroot from development machine to the production server Exported by site's database using SQL Front and importing on the production server Allowed access on the production server Edited site/config and wire/config to add in the hosts - appname.domainname.co.nz, localhost, 192.1.90.1 Now this is the real kicker:  I can goto http://localhost on the production machine, and get full access and it works fine... However when I try using appname.domainname.co.nz, I keep getting this weird "blank" redirect.
      I would really appreciate any help anyone would be able to give me. I have looked all thru the PW forums for something similar around this to no avail.
×
×
  • Create New...