Error in importing Rules thru URL Rewrite
Expected Behavior (or desired behavior if a feature request)
(what you expect to happen goes here)
login page shoud appear
Actual Behavior
(what actually happens goes here)
http error 403.14 - Forbidden
Please confirm you have done the following before posting your bug report:
- [ ] I have enabled debug mode
- [x ] I have read checked the Common Issues page
Please provide answers to these questions before posting your bug report:
- Version of Snipe-IT you're running - 3.3.0
- What OS and web server you're running Snipe-IT on - windows 7 32bit, IIS
- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) - Manual
- If you're getting an error in your browser, include that error - HTTP Error 403.14 - Forbidden
- What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error - login page
- If a stacktrace is provided in the error, include that too. -na
- Any errors that appear in your browser's error console.
- Confirm whether the error is reproduceable on the demo. - no
- Include any additional information you can find in
app/storage/logsand your webserver's logs. - none - Include what you've done so far in the installation, and if you got any error messages along the way. - there was an error with importing rules with url rewrite
- Indicate whether or not you've manually edited any data directly in the database - no
i have also added 127.0.0.1 in my host file
My web browser error

My Rules import error

My .htaccessfile

My IIS Settings

My Bindings

Thanks for the helpful screenshots - do you have index.php set as a default index? I'm no IIS expert, but something like this?
https://technet.microsoft.com/en-us/library/cc771439(v=ws.10).aspx
I will study and check the link you gave. Btw just to add, i havent imported any rules yet using the url rewrite as im having errors importing. Like what is show on screenshot above. I also haven't made it to the step "pre-flight and setup" as im having the http error.
Yeah, I don't know why those errors happen on IIS. Those are default Laravel rules, and it seems weird that Larval would provide rules that choke IIS up so hard. You can remove the rule that's not importing correctly though, it's not critical.
after adding index.php as a default document, the error changed. i have restarted the site as well.


i also have my APP_URL set to null if that is an issue.

Okay, that seems closer.
https://technet.microsoft.com/en-us/library/dd239230(v=ws.10).aspx
You'll need to set your APP_URL and restart the web server tho.
well the error again changed. i have set my APP_URL to gdcassets.local, added it to the host file, and binding in ISS.

this is my permission settings

You need to set your storage directory (and all subdirectories within the storage directory) to be writeable by the server.
yes as shown above, i gave IUSR full control permission. i also gave the IIS_IURS user full control permision then this error came up.

upon checking my log files, this is the error.

Believe it or not, this is actually more progress. Now it's able to write to the log file, but it looks like the PHP-PDO extension might be missing.
http://www.iis-aid.com/articles/how_to_guides/working_pdo_extensions_iis http://www.garrypassarella.co.uk/2011/12/05/uncaught-exception-pdoexception-with-message-could-not-find-driver/
well, that solved it. thank you so much! this community always responds in time and always resolves issues. thanks again. would be better if there would be a step by step installation guide including the prerequisites for windows (php) to avoid this issues in the future. i would be happy to do it if you wont mind. ;)

We would LOVE it if you could expand on our Windows documentation. I haven't worked on Windows in over 15 years, so a more verbose step-by step would be a great benefit to the community. If you go to the current IIS documentation, there should be an option to "Suggest Edits" in the top right. If you use that, you can write up your changes in markdown and we can approve them when you're done. Thanks!