Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot make it work under IIS #44

Open
DannyBoy600 opened this issue Oct 10, 2023 · 1 comment
Open

Cannot make it work under IIS #44

DannyBoy600 opened this issue Oct 10, 2023 · 1 comment

Comments

@DannyBoy600
Copy link

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
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants