Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bigplan's avatar

Laravel, PHP, and IIS 7.5, oh my

Good day,

I'm working a 404 page not found issue with a site built using Laravel and IIS 7.5.

I'm not a Laravel or PHP developer, but I've been tasks to find and fix an issue.

We have a Laravel site which displays the home page, but the site sub pages throw a 404 error.

I can reboot our server and the sub pages works great for about 30 minutes, and then again throw 404 errors.

Can someone please tell me what the issue could be and a solution to fixing it?

The site can be found here: http://www.physicians-ally.com/

Click on any sub page link to see the issue.

Thank you. Any solution information would be extremely appreciated! Carl

0 likes
7 replies
rilwan's avatar

Please check the URL Rewrite Module .

bigplan's avatar

Thank you for your help.

This is what I have in the .htaccess file. Is there an example of what it should be that I can reference?

Options -MultiViews RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

Thanks again for your help! Carl

bigplan's avatar

Thank you for the info.

We have been using the Miconovae rewrite engine for IIS.

Thanks again! Carl

Please or to participate in this conversation.