Here's how I setup Laravel on MAMP:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
</IfModule>
if (strpos($_SERVER['HTTP_HOST'], 'localhost') !== false)
{
$_SERVER['LARAVEL_ENV'] = 'local';
}
else
{
$_SERVER['LARAVEL_ENV'] = 'production';
}
<?php
return array(
'url' => 'http://localhost:8888/_app_name_'
);
Not working here to. Using the last version of Laravel and XAMPP on Windows 7.
Actually I've made some tests and this work but the "index.php" stay in the URL. I've already erased the the "index.php" line in the application.php but it is not working.
Edit:
To anyone using XAMPP on Windows and don't want to alter the vhosts file this is the solution: http://forums.laravel.io/viewtopic.php?pid=17223#p17223