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


I'm trying to upload my work-based web app from a local work to a web server, but I'm still The same problem is: white page but if I call phpinfo in index.php, then I can see the result. I have tried to keep the same directory structure of the original project, but when I navigate to myhost.com/app/public, I see a white page. I have also tried to move all the public content in the upper direction, the bootstrap / path of the public version By changing the path from PHP to '/ ..' and from index.php (.. need to remove / autoload.php and start .php) but the only problem is, finally, I tried to add this line to .htaccess

  Resetting engine on Rev. Cindy% {REQUEST_URI}! ^ App / Public Rev. release ^ (. *) $ App / public / $ 1 [L]   

... and second white page

So I do not know where the problem is.

< "post / text" itemprop = "text">

public / directory app / directory Should not be inside

P> If you are on a shared host then you are probably on a virtual host.

You only have to move your project forward, make sure that the mod_rewrite is enabled next to the host and allow AllRed All in Apache configuration (if Apache).

And then use .htaccess below:

  & lt; IfModule mod_rewrite.c & gt; Option + Follow-up Simon Link Rewriteignin ON & lt; / IfModule & gt; # For all files not found in the file system, double-click the request for the # "index.php" front controller, while retaining the query string & lt; IfModule mod_rewrite.c & gt; RewriteEngine RewriteBase / RewriteCond on% {REQUEST_FILENAME}! -f Rewrite Convert% {REQUEST_FILENAME}! -d RectitRule ^ (. *) $ Index.php / $ 1 [L] & lt; / IfModule & gt;    

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -