Básicamente. He montado aplicaciones Laravel (con jwt y angulajs) en hosting's compartidos en hostgator y godaddy y no he tenido problemas. Pero en el hosting donweb, el php no se esta ejecutando:
http://www.gymhealthlife.com/gimnasi...aravel/public/
Estoy intentando establecer cual puede ser el problema. En hostgator, (Que en mi opinión es el mejor hosting del mundo.) Establezco unas reglas en el archivo .htaccess y una versión php con un php.ini personalizado en la carpeta public de laravel:
.htaccess en hostgator:
Código:
Pero en el hosting donweb. La versión php a utilizar en esta carpeta public se establece en el mismo archivo .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>
.htaccess en el hosting donweb
Código:
Ahora supongo que el problema de configuración debe estar en algún archivo .htaccess por que cuando coloco un script puro dentro de alguna subcarpeta, si se ejecuta el php.# Use PHP54 as default
AddHandler application/x-httpd-php54 .php
<IfModule mod_suphp.c>
suPHP_ConfigPath /opt/php54/lib
</IfModule>
<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>
Agradezco su ayuda y consejos !!



