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.
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
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community