novafacile / novagallery

novaGallery - a beautiful and and ease to use php image gallery for your photos - flat file - no database required - modern responsive design
https://novagallery.org
GNU Affero General Public License v3.0
74 stars 11 forks source link

Cannot make it work under IIS #44

Open DannyBoy600 opened 11 months ago

DannyBoy600 commented 11 months ago

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

david-novafacile commented 11 months ago

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)