hello. what is the code under .htaccess file? can i get it
@takneekicode
Жыл бұрын
Yes, it is available on the internet also. stackoverflow.com/questions/24620505/laravel-htaccess
@TallStack-su8sq
2 ай бұрын
The .env file should be accessible in this manner. Move the application files outside of the public_html directory, leaving only the public folder within public_html.
@JohnSmith-co1zv
Жыл бұрын
Isn't it dangerous to host the application inside public html?
@TallStack-su8sq
2 ай бұрын
yes, .env should be accessible.. You need move app files outside of public_html and leave only public folder in public_html
@dr.ankitpatel6446
Жыл бұрын
I successfully deployed the laravel 8 application with database but on clicking the menu the routes are not working.. Please help sir
@takneekicode
Жыл бұрын
What issue u are facing?
@dr.ankitpatel6446
Жыл бұрын
@@takneekicode on clicking on menu links the server response the page not found or bad link
@vhonbautista7157
9 ай бұрын
Tried to deploy my laravel project on hostinger it works however it does not load the resources it just says :Failed to load resource: net::ERR_CONNECTION_REFUSED: in console. my larevel project uses tailwind and other installed libraries and non of them are working, tailwind not applying, apexcharts and other installed libraries all I see is a mess html front, no styling applied but works on local
@classicaf
9 ай бұрын
Were you developing your project in some folder of xampp?
@keikahakari3398
4 ай бұрын
can dbeaver be use?
@astartesidon609
3 ай бұрын
.env without caching sometimes create unexpected behavior.. better to run optimize first ,, or just be ready everything before upload
@annbonador
Жыл бұрын
I found this technique difficult, you may encounter problems in cache, and public/public_html here. Hostinger have SSH which is easier in deploying Laravel.
@takneekicode
Жыл бұрын
You are right, exactly what I said in the video this method is for beginners and it takes time. I will also upload ssh method.
@JuniorTheDev
Жыл бұрын
You are right but you have SSH at least with the premium hosting plan, i bought the first plan and i do not have this access so i am suffering actually to deploy my laravel 10 project
@anzarcademy
Жыл бұрын
what about npm?
@takneekicode
Жыл бұрын
If you have npm packages in your project then no worries, but if you want to install the new package with npm you can do that with a terminal or install it locally first and deploy it again.
@rammmzel
Жыл бұрын
Why do u have htaccess at first
@takneekicode
Жыл бұрын
To secure my folders and website
@lazy_coding
21 күн бұрын
I disliked the video for the reason ignoring security when it comes to sharing most essential files out in public. This is worst than anything
@Faisalkhan-ms3je
6 ай бұрын
Hello sir thank you so much for providing such a great video. But I am facing an issue. I have created many routes in my web.php. But routes are not working and giving me 404 error. for example mydomain/route this is not working for me. please help me with this.
@takneekicode
6 ай бұрын
I can only tell by checking the code.
@jeanwona2689
Жыл бұрын
I already have an .htaccess file in the public folder of my Laravel 9.5 project, should I add another .htaccess file on the main root? In case I don't I get a 403 error on my site meaning an error accessing my resources
@takneekicode
Жыл бұрын
You should also have a .htaccess file in the root directory
@jeanwona2689
Жыл бұрын
@@takneekicode okay, but in that case I got a 403 access file error. Sorry, can you help me?
@halith_s
Жыл бұрын
@@jeanwona2689hey did u solved the error?
@nyakehpalmer3875
11 ай бұрын
Can you pls help with code that is in the .htacess file which redirect the to the Public folder that has the index page? That seems to be catch, u dint explain that part. Thanks
@ParvezAlam-zj5pf
6 ай бұрын
Thanks dude! Just what i needed in a concuse way
@takneekicode
6 ай бұрын
Glad I could help!
@justinjustinjustin7862
Жыл бұрын
Hello what laravel version is your application? mine wont work using your method and I am still trying other method still it wont work. when I am searing my domain it just sending Happy to see your domain with Hostinger! page
@takneekicode
Жыл бұрын
Delete the default file and upload the htaccess it should work
@vinayaksen8126
5 ай бұрын
I am getting index of / . what should i do
@takneekicode
5 ай бұрын
Please follow all step and make sure your htacces file is correct
@cameleonarabic8124
Жыл бұрын
does hostinger support 9.5?
@takneekicode
Жыл бұрын
Yes
@djnoubba1235
8 ай бұрын
This is for free
@takneekicode
8 ай бұрын
No, you need to buy Hostinger account.
@muzammilabbas2610
Жыл бұрын
Very informative sir.. Please also make a video on ajax with laravel
@riadhcoding
Ай бұрын
Ajax not use inside Laravel instead use live wire
@ngohien8761
Жыл бұрын
my laravel 8x got error 500 , another ht access not working : My Htacess still work normal on xamp and my sql : Options -MultiViews RewriteEngine On # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?path=$1 [NC,L,QSA]
@ngohien8761
11 ай бұрын
thank for support . I have done change version php 8.4 -> 7.4 so my website have work again with laravel 8
@jeffagaming732
2 ай бұрын
thank you bro, you handsome
@oussamarachid3747
9 ай бұрын
thanks a lot chef🙏
@takneekicode
9 ай бұрын
Most welcome 😊 👍🏻
@TusharZambare
Жыл бұрын
not for laravel 9
@takneekicode
Жыл бұрын
First of all, you should not use laravel 9 because it needs the latest PHP and most of the packages and hosting do not support the latest PHP. But Yes it is also for laravel 9
Пікірлер: 47