Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
Laravel moving from production to dev
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Genaga" data-source="post: 368349" data-attributes="member: 57551"><p>Sup guys,</p><p></p><p>I'm getting ready to release me website but I have been using the live site for development so naturally I'm moving to my local machine (I know it should be like this initially).</p><p></p><p>Now I didn't set up my server or laravel or anything.</p><p></p><p>I have managed to install laravel with composer and run it on localhost, but when I copy all my files I get a infinite redirect loop.</p><p></p><p>This is my .htaccess</p><p></p><p><IfModule mod_rewrite.c></p><p> <IfModule mod_negotiation.c></p><p> Options -MultiViews</p><p> </IfModule></p><p></p><p> RewriteEngine On</p><p></p><p> # Redirect Trailing Slashes...</p><p> RewriteRule ^(.*)/$ /$1 [L,R=301]</p><p></p><p> # Handle Front Controller...</p><p> RewriteCond %{REQUEST_FILENAME} !-d</p><p> RewriteCond %{REQUEST_FILENAME} !-f</p><p> RewriteRule ^ index.php [L]</p><p></p><p></IfModule></p><p></p><p>Not sure what other information you may need just let me know!</p><p></p><p>Cheers in advance guys.</p></blockquote><p></p>
[QUOTE="Genaga, post: 368349, member: 57551"] Sup guys, I'm getting ready to release me website but I have been using the live site for development so naturally I'm moving to my local machine (I know it should be like this initially). Now I didn't set up my server or laravel or anything. I have managed to install laravel with composer and run it on localhost, but when I copy all my files I get a infinite redirect loop. This is my .htaccess <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> RewriteEngine On # Redirect Trailing Slashes... RewriteRule ^(.*)/$ /$1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] </IfModule> Not sure what other information you may need just let me know! Cheers in advance guys. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
Laravel moving from production to dev
Top