web services - Move laravel 4.2 from localhost to shared, or not, web hosting -



web services - Move laravel 4.2 from localhost to shared, or not, web hosting -

i'm trying upload working laravel web app localhost web server, still have same problem: white page. if set phone call phpinfo index.php can see result. i've tried maintain same directory construction of original project, when navigate myhost.com/app/public see white page. i've tried move content of public upper dir, alter paths bootstrap/paths.php of public var '/..' , index.php (removing ../ require autoload.php , start.php), same problem. @ last, i've tried add together lines .htaccess

rewriteengine on rewritecond %{request_uri} !^app/public rewriterule ^(.*)$ app/public/$1 [l]

...and white page.

so don't know problem.

the public/ directory should not within of app/ directory.

if you're on shared host you're on virtual host.

all should have move project, create sure host has mod_rewrite enabled , allowoverride all in apache configuration (if apache).

and utilize .htaccess below:

<ifmodule mod_rewrite.c> options +followsymlinks rewriteengine on </ifmodule> # files not found in file system, reroute request # "index.php" front end controller, keeping query string intact <ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ index.php/$1 [l] </ifmodule>

web-services laravel laravel-4 localhost

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -