Support the ongoing development of Laravel.io →
Configuration Requests
Last updated 2 years ago.
0

What you will need to do is to put an exception in your .htaccess for /forum so it doesn't get rewritten. Something like this:

    #Checks to see if the user is attempting to access a valid file,
    #such as an image or css document, if this isn't true it sends the
    #request to index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    #This last condition enables access to the images and css folders, and the robots.txt file
    #Submitted by Michael Radlmaier (mradlmaier)
    RewriteCond $1 !^(index\.php|images|forum|robots\.txt|css)
    RewriteRule ^(.*)$ index.php/$1 [L]

Just remember you can't have a forum route in Laravel.

0

UPDATE::

My apache2 config file was incorrect. Everything works now.

Thanks


Hi there, Sorry for the very late reply -- Went on holidays.

I send the best seasonal greetings!

I have tried the above mentioned solution, it does not seem to work. I copied my entire .htaccess into a pastebin here: http://laravel.io/bin/PXy22

I am sure it is a small mistake.

Thanks again, Rijnhardt

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

RhinoZA rhinoza Joined 26 Dec 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.