Support the ongoing development of Laravel.io →
Configuration Installation Requests

I work for an orginazation that does not allow htaccess at all. I have to configure all request through the httpd.conf.

I have folder based uri's working wing but anything with a dot I get a 404

Here is the code I have in the httpd.conf

RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^/(.*)/$ /$1 [L,R=301]

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

Last updated 3 years ago.
0

when I refer to anything with a dot I mean .css .js etc

0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Gino N genomarb Joined 7 Feb 2020

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.