Pure gold. I cannot stress how rare this type information online. Most tutorials just ignore this stuff completely, even though they are crucial for real world development and deployment. The very few videos on such subjects are usually not beginner friendly to say the least.
@ProgramWithGio3 жыл бұрын
Thank you 💙💙
@4lmolly2 жыл бұрын
This guy is an absolute gem! You're very good at this teaching thing. I wish this could be replicated for all things concerning software/hardware. Maybe some things would be less complicated/challenging to understand. Nice work! Keep it up.
@ProgramWithGio2 жыл бұрын
Thank you 💙💙
@wno1043 Жыл бұрын
I learned more from this video than reading pages of questions and "answers" in various forums, and was actually able to solve my problem with Apache failing when Virtual Hosts was activated! Many others apparently have had the same problem, and yet they don't get answers that work from the forums. Great video! Thanks!
@ProgramWithGio Жыл бұрын
That's awesome, happy to hear that. Thank you 🙌
@janedawg0911 ай бұрын
thanks a lot for adding this to the playlist. now I understand how these config files affect my projects. many other tutorials tend to vaguely explain or even skip these configurations. this was brief and very clear explanation 🙌
@ProgramWithGio11 ай бұрын
Glad it helped
@faramarztayyari37343 жыл бұрын
After completing the course, please post videos with professional topics such as Apache, server management, security, etc. I'm so glad I found you
@klerfe853 жыл бұрын
This is awesome! This PHP series is getting better and better. Now senior PHP dev's can learn a thing or two :)
@ProgramWithGio3 жыл бұрын
Thank you 🙌
@henrik91733 жыл бұрын
Agree with you. I'm loving this
@oswgaming198 Жыл бұрын
😂 Yeah for sure bro
@amagrawal00902 жыл бұрын
I cannot thank you enough for doing this. Every video i have seen of php so far was really of surface level, but you are mining gold.
@ProgramWithGio2 жыл бұрын
Glad you like it, thank you 💙
@lil-lilac-lil11 ай бұрын
I'm so glad I found your PHP video series! Usually I hate to learn from tutorials but your way of teaching and explaining things are awesome!
@ProgramWithGio11 ай бұрын
Glad you found it helpful, thank you
@ProgressiveDeveloper2 жыл бұрын
This video has changed my life and my development career altogether . I was working with routers in nowadays and things got really complicated as I moved on but rewinding my mind back I watched this video and it's now solving everything . I even had a dilemma and propably had a choice of renouncing PHP to Node js but am back now Thank you I really love your contents alot . They changed my career and destination.
@ProgramWithGio Жыл бұрын
Really happy to hear that, thank you 💙 You got this 💪
@ProgressiveDeveloper Жыл бұрын
@@ProgramWithGio That's fine but during the configurations I had a problem that is really devastating a lot . I use windows 11 on my machine and when I open the host file i couldn't find the button to open and run it as an administrator In fact I ran it as a normal user committed some changed but the file couldn't be saved. I modified the security settings in the file property and allowed modification, execution, read, write and save by any user and then opened it again to save the changes I added the new ip address as you illustrated in the video and saved it . Then after that I ran to my browser to run my local server and it couldn't run . My localhost is running properly and yet point to the document root I want but I cann't open my .local site in the browser. Do I need much attention. Please help me with that.
@ProgramWithGio Жыл бұрын
@@ProgressiveDeveloper you can open notepad as administrator and then open the hosts file within that notepad using file -> open
@ProgressiveDeveloper Жыл бұрын
@@ProgramWithGio ok thank's 👌👌👌👌👌👌
@hectorluis92942 жыл бұрын
Definitely, THE best PHP course.
@ProgramWithGio2 жыл бұрын
Thank you 🙌
@yinonelbaz53092 жыл бұрын
Thank you!!! Excellent episode! A black hole in all PHP tutorials...
@ProgramWithGio2 жыл бұрын
Glad you liked it, thank you 🙌
@tarirocoffee5026Ай бұрын
I just love how you go deep into every detail, this is priceless!
@ProgramWithGioАй бұрын
Thank you very much!
@JRCSalter Жыл бұрын
Damn! I've been learning PHP on and off for years, and I've been breezing through this tutorial and learning so much that was never taught in any other course I've taken. This video in particular is extremely helpful, as I wanted to learn Apache as well. I also had an issue the other day which necessitated a .htaccess file, but I could not access $_GET and $_POST because I was redirecting 404 errors to /, and this messed with my router meaning those variables were discarded. I asked on a forum about it, and they told me to use almost the same code as you put in .htaccess, but didn't explain what it meant. It worked, but thanks to this video, I actually understand why.
@ProgramWithGio Жыл бұрын
That's awesome, happy to hear 💙
@Armando-px8hi Жыл бұрын
I am being serious when I was going to payed courses they showed this conf file once and they do not explain it how you did GIO, you can search on Google or on KZbin, you are the only person that is showing this kind of stuff.God Bless you man for doing this!
@ProgramWithGio Жыл бұрын
Happy to hear that. It was always my goal to explain things in the way that I would want things to be explained to me. I've had a lot of these questions myself when I was starting out & learning.
@sonoftroy8572 Жыл бұрын
One thing for sure, a lot of people that teach programming never educate people about apache local server and how to modify it's configurations. If you read apaches documentation it can be very confusing at first glace. And it's not a good source for beginners that don't know anything about apache. it'll take weeks to comb through all the docs... I'm glad you explained why it's needed, instead of just saying add this with out an explication. It takes away from people ability to learn. htaccess files and navigating the control panel is something overlooked. I'm glad you went over it with us thanks. Oh and I see you have apache code snippets! can I get that support for vscode too.
@ProgramWithGio Жыл бұрын
That was my goal, I wanted to create a course and teach it the way I would want to learn a new language myself. A lot of times I have had these questions myself when learning. I dont use anything special for apache, I just use phpstorm IDE, maybe vscode has some plugin for it
@AbdouAbdou-hu9un2 жыл бұрын
7:16 don't you ever say that again , you're doing great job explaining even the details and for free... thank you, thank you so much
@ProgramWithGio2 жыл бұрын
Thank you 💙💙💙
@aleksandrkanygin26723 жыл бұрын
Excellent tutorial, you cover every topic i wanted to see in php course, simply the best course on the internet
@ProgramWithGio3 жыл бұрын
Glad to hear that, thank you 🙏
@miftahmaulana60713 жыл бұрын
My main field of study is Pharmacy and because of that I had no information about some of the basics and I didn't know how to find that information. Thank you for creating such a great tutorial that covers the needed basics
@ProgramWithGio3 жыл бұрын
Glad it was helpful! Thank you
@AhmarIftikharButtIftikharHussa5 ай бұрын
Assalam-o-alaikum! is you find any job in tech in 3 years.I'm also have same situation like you. I'm also a Pharmacy tech student & learning how to code.
@shyankakshar Жыл бұрын
best tutorial I ever seen, short, crisp, direct crus is provided
@ProgramWithGio Жыл бұрын
Happy to hear, thank you
@lotuslando19942 жыл бұрын
This was a very good introduction to these config files. It pairs perfectly with what's been covered so far. 👍
@ProgramWithGio2 жыл бұрын
Glad it was helpful, thank you 💙
@zb27472 жыл бұрын
You covered so many topics I was confused about and simplified it while also giving a thorough overview/explanation. Its like every video I watch I'm experiencing an 'ah ha' moment lol. Thank you and I'll continue to say it as I watch more videos lol - I appreciate you and the effort you put into this fr!
@ProgramWithGio2 жыл бұрын
Happy to hear, thank you 🙏
@anilgajiev82573 жыл бұрын
6:52 path to host files on Windows: C:\Windows\System32\drivers\etc\hosts
@ieduardoms Жыл бұрын
It was not boring at all, on the contrary, it was VERY interesting and useful, and this tutorial is great. Thank you so much.
@ProgramWithGio Жыл бұрын
Glad to hear, thank you 🙌
@christiansosa5484 Жыл бұрын
smashed that like button pretty hard actually
@ProgramWithGio Жыл бұрын
Thank you 💙
@rogerzthecoder36252 жыл бұрын
Bruh, I've picked up a lot from you. You made things understandable. I'm a Nigerian.
@ProgramWithGio2 жыл бұрын
Happy to hear that 🙌, thank you 💙
@emekatimothyiloba699 Жыл бұрын
Insightful. Thank you Gio
@ProgramWithGio Жыл бұрын
Happy to hear
@Vitalii-m6r Жыл бұрын
Wow, there is still so much I need to learn. Thanks a lot!
@ProgramWithGio Жыл бұрын
One step at a time
@Nekoeye3 жыл бұрын
👍 Another like for not being boring :)
@godmansarah2 жыл бұрын
That was exactly the point I liked this particular video also :D
@ayxan39502 жыл бұрын
3:57 guys, if your .htaccess codes arent applied, please pay attention to "AllowOverride All" line here. I changed that line and worked
@ProgramWithGio2 жыл бұрын
Was yours not set to All?
@erickruhcardozo2 жыл бұрын
God bless you man!
@ProgramWithGio2 жыл бұрын
You too Erick, thank you 🙌
@inzaghiposumaalkahfi9650 Жыл бұрын
6:18 Can we add more than One/Two Folders Configuration in Htdocs Xampp Folder?
@ProgramWithGio Жыл бұрын
Yes you can
@inzaghiposumaalkahfi9650 Жыл бұрын
@@ProgramWithGio How to setting up?
@ProgramWithGio Жыл бұрын
@@inzaghiposumaalkahfi9650 create multiple folders and duplicate vhost configuration. You can Google for examples
@stepanmutsikivsky8987 Жыл бұрын
So, on my Lubuntu everything was absolutely different! Or rather same things but in another files & directories. And of course, in the end magic didn't happen🙃 ...until I googled and used command "sudo a2enmod rewrite"😁 Many thanks for the video!
@ProgramWithGio Жыл бұрын
Glad you figured it out, good job
@longkesh19716 ай бұрын
Thank you so much for making these videos.
@ProgramWithGio6 ай бұрын
You're welcome
@s4f4y4t93 жыл бұрын
Great tutorial sir
@ProgramWithGio3 жыл бұрын
Thank you
@jaume748 Жыл бұрын
Learnt so much in this video. ♥ THANKS!
@ProgramWithGio Жыл бұрын
Happy to hear 🙌
@abdelazizabdelioua890 Жыл бұрын
Thanks for the explanation. What is your IDE by the way ?
@ProgramWithGio Жыл бұрын
I use phpstorm
@ionafan23 жыл бұрын
Awesome! Do please the NGINX next time! Thank you!
@ProgramWithGio3 жыл бұрын
Thank you. Already did with docker in second section 🙌
@lairotuT-Tutorial3 ай бұрын
Wow, that was really fun, learned a lot! I would really like to have more information about Web Server configuration. There seems to be that much that a complete short series might be cool. But I guess - as you mention the cool stuff to come - Web Server config would not be your favorite, right? 😥
@ProgramWithGio3 ай бұрын
Heh, configuring web servers is not as much fun :D
@lairotuT-Tutorial3 ай бұрын
@@ProgramWithGio Well then.....🙄 Ready for the REAL fun 🤣🤣🤣
@jimmybdietaryandvital-sigh8450 Жыл бұрын
Awesome videos Gio. I thought the server & domain process was so much more complicated. Great stuff. One thing is if you ever redo any of these could you place the video title along the bottom of the screen instead of the top? When in full screen on pause it blocks the top line of your editor where it shows which files you have open and at times your first line of code. Not a deal-breaker by any means as your training is awesome. It would just help us out a bit more. Thanks ...have a great day Jimmy
@ProgramWithGio Жыл бұрын
Thank you 🙌. Can you share a screenshot of what you mean? Nothing is blocked on my end on full screen. If you mean the KZbin overlay that is something KZbin does that I have no control over, if you move your mouse or press key it shows the video controls as well as the title, it should go away on its own if you don't move your mouse while watching. Unless you see something else, screenshot would be great so I can check, thank you 💙
@jimmybdietaryandvital-sigh8450 Жыл бұрын
@@ProgramWithGio Hi Gio. I think that you might be right. It is probably just the KZbin overlay and is blocking only for a short time before it goes away. It's just that the top line is usually fuzzy (not always) and sometimes I need to study it. What I do now is let the video run while I'm doing this and just back it up. No big deal. I just wanted to bring it to your attention. BTW I tried to add a screenshot here but it wouldn't work. Anyway have a great day Jimmy
@peterpardo41382 жыл бұрын
Thank you so much! I really appreciate your effort in doing this.
@ProgramWithGio2 жыл бұрын
You're very welcome
@BestNoobHello2 жыл бұрын
This is awesome!
@ProgramWithGio2 жыл бұрын
Glad you like it 💙
@bevedel2 жыл бұрын
Really helpful. Thank you.
@ProgramWithGio2 жыл бұрын
Glad it was helpful, thank you
@Armando-px8hi Жыл бұрын
Man I just want to know how much did it take you to learn all this stuff?Absolutely Crazy!
@ProgramWithGio Жыл бұрын
It does take a lot of time but key thing is to never stop learning. I am still learning new things all the time.
@frd85Ай бұрын
brilliant video. thx
@ProgramWithGioАй бұрын
Glad you enjoyed it
@expresscoding3525 Жыл бұрын
Sir, I've a request, that please make a full course on apache and htaccess configuration course, and things related to URL rewriting, and pretty URLs using apache, there is not so much resources for it, that's why.
@ProgramWithGio Жыл бұрын
Thanks for the suggestion
@FranciscoJunior292 жыл бұрын
Thais ia awesome, great job.
@ProgramWithGio2 жыл бұрын
Glad you liked it, thank you
@n.a.52612 жыл бұрын
Hello Gio, I keep getting stuck around 6:38. I do get that localhost can have ambiguity with multiple websites, but I can't understand how ServerName works. Since ServerName points to the localhost ip address in the hosts file, how would you add another domain for other websites for example, that you have mentioned? What I only got was assign the localhost ip address to the server or domain but don't know how to add more websites other than the localhost.
@ProgramWithGio2 жыл бұрын
Hello. You organize different sites in different folders under htdocs, so something like htdocs/site1 htdocs/site2 then in vhosts you duplicate ...
@Herobotick20253 жыл бұрын
thaank you so much , i have a question so i'm a front end developper and i started learning the backend since a little while could you please give me a hint about the whole backend and what we can do like the uses generally .thnks in advance
@ProgramWithGio3 жыл бұрын
There are a lot of things you can do with backend development. CRM systems, warehouse management systems, ecommerce, invoicing & payments, & ton more stuff.
@judeleon8485 Жыл бұрын
Thanks Gio. Can you please explain the difference between domain name, hostname, and servername
@ProgramWithGio Жыл бұрын
No problem. That is the type of question that can easily be googled. Domain is basically a user friendly name of some IP address, hostname is a name associated with a device (i.e. PC) on network, server name is a server name. Server name in terms of Apache config is basically a reference to virtual host.
@judeleon8485 Жыл бұрын
@@ProgramWithGio There are some concepts that one gets confusing, and sometimes, conflicting explanations to. domain name, hostname, and servername are examples of such. Most times, these three have same values, which led to why I asked the question. Thanks Gio for your time
@ProgramWithGio Жыл бұрын
@@judeleon8485 no worries, I understand. Hope my answer helped a little bit 🙌
@zonegamma81977 ай бұрын
thanks a lot very useful
@ProgramWithGio7 ай бұрын
happy to hear
@jeffsnow74642 жыл бұрын
8:01 "Remember that Allow Override directive in the main configuration file that we talked about a few minutes ago? That's the one." 🤣👍
@ProgramWithGio2 жыл бұрын
Yup, that's the one 😁
@petogeorge Жыл бұрын
Thankk you so much !😍
@ProgramWithGio Жыл бұрын
You're welcome 😊
@ProgressiveDeveloper Жыл бұрын
Hello Gio, I was working with routers and views, but I got stack because Iam not capable of loading assets like JavaScript, CSS and images and the template engine Iam using is .php files and I don't want to change to other templating engines like twig and blade that so How can I load and include those assets with these Apache configurations. Because at first, I tried to include them by requiring them normally as files but that can't work with images Can you please help me with that.
@ProgramWithGio Жыл бұрын
They should work fine, in apache vhost you define document root so your assets will just be relative to that path. For example if your js is in public/js/app.js then you can load it in code by /app.js because document root is /public.
@kenjohnsiosan97072 жыл бұрын
Thank you sir.
@ProgramWithGio2 жыл бұрын
You're welcome 💙
@jailsoncarneiro4936 Жыл бұрын
Fantastic!
@ProgramWithGio Жыл бұрын
Thank you! Cheers!
@mostafamahfouz11393 жыл бұрын
شكرا لك
@ProgramWithGio3 жыл бұрын
You're welcome
@Zubbee2 жыл бұрын
Hi Gio, I added this update you included below RewriteCond %{LA-U:REQUEST_FILENAME} !-f RewriteCond %{LA-U:REQUEST_FILENAME} !-d i mean the LA-U (Look ahead-URL) into vhosts file and the pretty URLs refused to load. I had to take out for it to work. In what scenerio are we supposed to use it then or could i have missed something?
@ProgramWithGio2 жыл бұрын
That's strange. If you can share screenshot of your config section I can take a look. You can DM me on twitter & send it there.
@Zubbee2 жыл бұрын
@@ProgramWithGio ok. will do. thanks so much
@iqorimane35752 жыл бұрын
not boring at all !
@ProgramWithGio2 жыл бұрын
👍👍
@niksatan3 жыл бұрын
Hey Gio thank you for great series. I am interested on your opinion about Laragon for local dev environment, with heidiSQL. I am planing to buy new computer, what would you personaly prefer - Mac with Sequel pro, or PC with heidiSQL for the long term PHP mysql development? Thank you
@ProgramWithGio3 жыл бұрын
Hello. Laragon is good alternative to XAMPP for local development. I have no experience with heidiSQL or Mac so I can't really say much about it. I personally use Linux dual booted on Windows PC so I switch between Windows & Linux when needed. As for the local development I use Docker (which is also covered in this series in 2nd section).
@niksatan3 жыл бұрын
@@ProgramWithGio Thank you so much for the answer and for the series! I will try Docker!
@FahdSalah2 жыл бұрын
Great Tutorial Gio, but am actually can't understand this config. video. Can i skip it or rest a little bit then try with it again? (Love your vids btw)
@ProgramWithGio2 жыл бұрын
Thank you. Of course you can skip & come back to it later, not a big deal.
@FahdSalah2 жыл бұрын
@@ProgramWithGio Thanks a lot
@anildemir54252 жыл бұрын
Hey Gio, do you recommend using apache or nginx? ( for a junior php developer we ought to know nginx web server configuration?)
@ProgramWithGio2 жыл бұрын
Either is fine. I personally have moved to nginx & we cover nginx in 2nd section as well with Docker so you'll see how it works.
@anildemir54252 жыл бұрын
@@ProgramWithGio I appreciate your quick answer as well as your extra informative lessons. Thank you for all these hard work.
@migueldemaria38303 жыл бұрын
is there a difference between DocumentRoot "C:/xampp/htdocs" and "/xampp/htdocs", which mine is? My xampp is located in C:/.
@ProgramWithGio3 жыл бұрын
I think this has to do with windows. If you open windows terminal & type cd / it cds into C:/ directory so that is probably why it works. If you had your XAMPP installation on D:/ for example then using /xampp would not work since it would be trying to locate that on C drive and not D.
@memack1012 жыл бұрын
Thank you.
@ProgramWithGio2 жыл бұрын
You're welcome
@aleksandrkanygin26723 жыл бұрын
13:32 took me an hour and 1 rewatch of this video to figure out we need a slash there :DD
@ProgramWithGio3 жыл бұрын
That's ok 🙂. Sometimes we spend a lot of time on simple bugs
@sarc143 Жыл бұрын
i have a qeustion, if you publish your php site to aws or cloudflare or another hosting website do you have to deal with apache configuration on your computer or no?
@ProgramWithGio Жыл бұрын
Not on your computer, you would deal with it within the hosting provider depending on your provider. Some hosting providers handle most of the configuration for you
@sarc143 Жыл бұрын
@@ProgramWithGio ty bro
@udayan2859 ай бұрын
Thanks Gio
@ProgramWithGio8 ай бұрын
You're welcome
@jimmymomoh2 жыл бұрын
hi Gio I setup up everyting correctly but it still brings me to the default index of/ on local host and list all the directories in htdocs for me to choose from. please help.
@ProgramWithGio2 жыл бұрын
Hello, how is your document root configured. Can you send me screenshot of your vhosts? You can DM me on Twitter and I can help troubleshoot it
@jimmymomoh2 жыл бұрын
@@ProgramWithGio ok thank you..over to Twitter.
@Ash-kq7zk Жыл бұрын
Hi Gio , i have a question please .. i changed everything as it should be , the documentroot servername and ip in the hosts file , but when i type the PHPfolder.local which is like programmingwithgio.local for u , it direct me to the xamp welcome page instead of reading my php file inside the PHPfolder ..
@ProgramWithGio Жыл бұрын
Hey, most likely misconfiguration. If you send me screenshots of your setup & vhosts file I can help troubleshoot. You can DM me on Twitter
@Ash-kq7zk Жыл бұрын
@@ProgramWithGio Thank you so much , it was jst as you said ! misconfiguration .. m working on linux and so the include virtualhost (in httpd.conf file) was commented and that was the problem
@wahyunurarizky38602 жыл бұрын
thanks Gio
@ProgramWithGio2 жыл бұрын
You're welcome
@omaryahia Жыл бұрын
amazing
@ProgramWithGio Жыл бұрын
Thank you 🙏
@LubaLorenz Жыл бұрын
cool video)
@ProgramWithGio Жыл бұрын
Thanks
@b4rt1j12 жыл бұрын
I followed your steps changing the localhost name part, but google keeps looking for results on web no matter what project name i specify, can someone help me with solution please?
@ProgramWithGio2 жыл бұрын
Try adding in the beginning, so localhost
@b4rt1j12 жыл бұрын
@@ProgramWithGio Thanks!
@Rae-wm3jx Жыл бұрын
Are apache and apache2 the same or thats just 2 different server?
@ProgramWithGio Жыл бұрын
two different versions
@Rae-wm3jx Жыл бұрын
@@ProgramWithGio i have a question can you help me? I use apache2 and have htaccess file but my web cant showing my content its just showing a blank white screen
@ProgramWithGio Жыл бұрын
@@Rae-wm3jx DM me on Twitter and I'll help you troubleshoot. Send me screenshots of your setup. First step is to check error log to see if there are any server errors.
@Rae-wm3jx Жыл бұрын
@@ProgramWithGio ok thanks for your help
@sym2574 Жыл бұрын
great great great
@ProgramWithGio Жыл бұрын
Thanks 🙏
@nextebiz68973 ай бұрын
no you are not too boring, you are awesome
@ProgramWithGio3 ай бұрын
💙💙
@Leomessi12843 жыл бұрын
Nice
@adduxe Жыл бұрын
I've been following the whole tutorial. I think I got lost here. 😞
@ProgramWithGio Жыл бұрын
Sorry to hear that, feel free to ask questions. I would also suggest to take a break & come back to it later.
@khansawidhani98994 ай бұрын
What if youtube also has feature to post multiple likes on single video by a single user like medium 😂 I would like it multiple times 😁😁
@ProgramWithGio4 ай бұрын
💙💙
@BoosterShot10104 ай бұрын
I now understand why php is look down upon so much. The language is just a mess!
@ProgramWithGio4 ай бұрын
Ok Python
@freshcodes07 Жыл бұрын
Really unbelievable! Theoretical Lessons like this usually i don't finish it. but you're Exception! Thanks a lot sir🤍
@ProgramWithGio Жыл бұрын
Thank you, I appreciate it
@useful_short_videos6 ай бұрын
100% useful video!!!! I agree with one of the comments that this video is pure gold. However in the case of my xampp installation on Ubuntu when I repeat all your steps and then try to open 'my-site.local' in the browser, it redirects me to 'my-site.local/dashboard' which is the same as /localhost/dashboard with all that xampp settings. Maybe you know why do I see that?
@ProgramWithGio6 ай бұрын
I would have to see your configuration, feel free to reach out to me on Twitter & share your config and I can help debug it
@useful_short_videos6 ай бұрын
@@ProgramWithGio thank you for the hand :). I fixed it.
@lairotuT-Tutorial3 ай бұрын
Would you give me your idea about my own configuration: RewriteEngine On # Information über Standort/Scope # information about local/scope RewriteBase /Project/ # Wenn wir uns schon im /public Verzeichnis befinden, soll nichts weiter passieren. # no action if we are already in public folder RewriteRule ^$ public/ [L] # Statische Ressourcen, wenn sie bereits existieren. # static ressources if they exist RewriteCond %{DOCUMENT_ROOT}/public/$1 -f RewriteRule (.+)$ public/$1 [L] # Alle anderen Anfragen, sollen mit Befüllen der Route auf die Datei index.php im Ordner public umgeleitet werden. # all other requests shall be forwarded to index.php inside public folder RewriteRule (.*) public/index.php?route=$1 [L,QSA] Do I make unneccessary stuff in your opinion or is sth important missing?
@ProgramWithGio3 ай бұрын
dont think you need public in your rewrite rule if your document root is set up properly & uses public in it
@lairotuT-Tutorial3 ай бұрын
@@ProgramWithGio ok, so you prefer the root setup instead of the mod_rewrite.c - My idea was just to have only one entrypoint for my appside adjustments. The other aspects cannot be written directly inside the web server settings to get rid of the whole mod_rewrite, correct?