简体   繁体   中英

Laravel 4 hosting in cPanel

I am new to php. I've completed a project in Laravel and now I want to move it to a cPanel based server. I've used xampp in my development machine and it works just fine. I've edited the paths and index.php. It shows the login page. When I enter user name and password it redirects back to the login page. I've tried a lot but with no luck solving the problem.

htaccess file

<IfModule mod_suphp.c>
    suPHP_ConfigPath /opt/phpcur/lib
</IfModule>



# Use PHPcur as default
AddHandler application/x-httpd-phpcur .php

Where is that htaccess located? /public?

Check out the htaccess on the laravel documentation website. Try these implementations: http://laravel.com/docs/installation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM