dimanche 26 juin 2016

Not able to access views in laravel 5 from url

I have followed these steps to remove index.php from url. I am working on laravel 5 and i have followed the insrtuection to remove index.php and public from url..but after i am not able to access my views folder and pages using url.Only main link like www.art.local is working http://ift.tt/2903cbW this is not working. Please Help

        Renaming the server.php to index.php (no modifications)
        Copy the .htaccess from public 
        Changing .htaccess it a bit as follows for statics:

        RewriteEngine On

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

        RewriteCond %{REQUEST_URI} !      (\.css|\.js|\.png|\.jpg|\.gif|robots\.txt)$ [NC]
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^ index.php [L]

       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_URI} !^/public/
       RewriteRule ^(css|js|images)/(.*)$ public/$1/$2 [L,NC]



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/29eMini
via IFTTT

Aucun commentaire:

Enregistrer un commentaire