apache - laravel 5 showing internal error -
i have laravel 5 app working quite on local server transfer files server in directory (not in root) , accessing http://example.com/directory/public/ showing "500 internal server error". have searched on stack overflow , found error .htaccess
.
i tried adding rewritebase /
, options all
nothing worked. tried .htaccess
code provided in laravel docs didn't work.
storage directory set 0777 , laravel log file set 0666. files set 0664 , 0666. deleting .htaccess
file public
folder shows same error.
i have ftp'd files of laravel app local live server.
if have shared hosting move files , folders public root directory , change paths in index.php file accordingly. , either rename public folder or delete it.
i think cannot access public folder accessing on local machine. first run server access directory name. if don't want run server have mentioned in first paragraph. work on live server. access address http://example.com/directory
Comments
Post a Comment