I suspect i already know the answer to this or more accurately no answer to it.
I run two servers in the office, one LInux and one Windows server 2012 dataserver running IIS 8 with PHP installed
So here is the configuration issue
I need to develop for a Linux PHP target but develop on the IIS 8.
All works ok except routing for obvious reasons.
Obviously it is a pain to have to import rules over to iis from the htaccess manually. Anyone know of a way of getting IIS to automatically import them or better actually obey them?
Hoping someone out there may know of some clever server patch that may help
Obvious question so I’m sure you’ve already considered it but would you be better installing WAMP and running Apache on your Windows PC for development?
Why do you need to develop on IIS? Makes no sense if I am honest.. Especially when it takes a few minutes to spin up another server running Apache and have none of the issues you are experiencing.... Why make so much work for yourself?
Thanks Dave but if it was that simple i wouldn't need to ask the question. Yes, just using the office lamp stack which i use for most PHP dev work would be much easier but that was not the question, The reason is basically about integration, i need access to multiple technologies and this would be easier than writing a load of APIs to bridge server technologies, this is my only road block to just using IIS
So back to the question:
Anyone know of a way of getting IIS to automatically import them or better actually obey them?
Having looked all day, finally found a tutorial based on IIS 8 and it appear this may be a server config issue, Looks like i should have an import option but seem to be missing the entire inbound rules section with the URL Rewrite module so maybe its a group policy issue. Will investigate that direction