Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

How to fix 405 Error IIS7 PHP?

$
0
0
Hello,

My friendly url on local host for my IIS7 website is:

http://localhost/websitename


Behind the scenes IIS7 automatically knows to display

http://localhost/websitename/index.php (but does not display the index.php).


However, when parameters are added to the friendly link, I receive a 405 - Method Not Allowed Error.


e.g.
http://localhost/websitename/?p=1&q=2 405 ERROR
http://localhost/websitename/index.php?p=1&q=2 Displays ok


I have read through the web.config, .httpaccess email trails, but unfortunately this seem to be either for older versions of IIS, not for php or for experienced users.


This is the first time I have tried using "friendly" urls, but after 3 hours of wrestling with this error I am not seeing the setup of them as friendly.


I'm sure it's an easy fix, for those in the know.


Some newbie instructions would be greatly appreciated.


Thanks.


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>