novagallery icon indicating copy to clipboard operation
novagallery copied to clipboard

Cannot make it work under IIS

Open DannyBoy600 opened this issue 1 year ago • 1 comments

Testing to include the innovagallery within my web application, running IIS on localhost.

First issue was in Router.php, since $_SERVER['REQUEST_URI'] does not exist when using IIS. Fixed that.

In site.php, I set url = "http://localhost/my-web-app/novagallery" - is that correct?

Now all I get is 404-page not found.

Has anybody run this under IIS?

BR Dan

DannyBoy600 avatar Oct 10 '23 13:10 DannyBoy600

Unfortunately I don't know configuration of IIS but in the base it's just a simple php application using real urls.

In site.php, I set url = "http://localhost/my-web-app/novagallery" - is that correct?

If this is the url you have configured to something like your url/vhost (I don't know how it's named in IIS) , than it's right.

Now all I get is 404-page not found.

You need a feature like mod_rewrite in apache2 to route all requests to the index.php (without calling index.php directly)

david-novafacile avatar Oct 10 '23 19:10 david-novafacile