mettle / sendportal

Open-source self-hosted email marketing. Manage your own newsletters at a fraction of the cost.
https://sendportal.io
MIT License
1.78k stars 354 forks source link

HTTP Error 404 #180

Closed PDijkhuizen1990 closed 2 years ago

PDijkhuizen1990 commented 2 years ago

Hi,

I have a fresh installed server;

Followed all the steps image

Then I created a webpage in IIS, when I navigated to http://localhost, I see a redirect to /login but then I get a 404. The folder is the public folder in the sendportal folder.

image

Hope someone can help me.

ps.

The PHPINFO does work

image

PDijkhuizen1990 commented 2 years ago

Just fixed the issue... I needed to import the .htaccess file trough the IIS URL Rewrite module.

BUT! Remove this line first, isn't necessary RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

uhlhosting commented 1 year ago

@PDijkhuizen1990 can you show an example of your .htaccess?

PDijkhuizen1990 commented 1 year ago

@PDijkhuizen1990 can you show an example of your .htaccess?

It's included with the project, however I needed to convert it to IIS.