Support the ongoing development of Laravel.io →
Views Architecture
Last updated 2 years ago.
0

it should work out of the box, how are you handling your rewrites?

0

I haven't touched the .htaccess file in the public folder.

Last updated 9 years ago.
0

Anyone have any ideas? I looked around and found this code:

<IfModule mod_rewrite.c>
Options +FollowSymLinks
DirectoryIndex index.php
RewriteEngine On
</IfModule>

RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ / [R=301,L] 

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

But when I replace the contents of public/.htaccess with this and try to access the page with http://www.mydomain.com/folder-name, it gives me a 403 error.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

jerauf jerauf Joined 16 Feb 2014

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.

© 2024 Laravel.io - All rights reserved.