basic apache webserver configuration virtual hosts full php 8 tutorial

in this php tutorial, you will learn the basics of apache configuration files & how to work with them. you will also learn how to rewrite urls using .htaccess files & the difference between .htaccess & httpd.conf files and why you should not use .htaccess files.

note
at 13:20 i copied htaccess content into vhosts config, there needs to be an adjustment, the rewrite conditions should be this when put inside vhost config or httpd:

rewritecond %{la-u:request_filename} !-f
rewritecond %{la-u:request_filename} !-d

the reason for it is because la-u (look-ahead url based) is needed for the proper value of request_filename. more info on it can be read on https://httpd.apache.org/docs/current/mod/mod_rewrite.html (search for la-u)

some of the ways you can support the channel

basic apache webserver configuration virtual hosts full php

2673



basic apache webserver configuration virtual hosts full php 8 tutorial in this php tutorial, you will learn the basics of apache configuration files & how to work with them. you will also learn how to rewrite urls using .htaccess files & the difference between .htaccess & httpd.conf files and why you should not use .htaccess files.noteat 13:20 i copied htaccess content into vhosts config, there needs to be an adjustment, the rewrite conditions should be this when put inside vhost config or httpd:rewritecond %{la-u:request_filename} !-frewritecond %{la-u:request_filename} !-dthe reason for it is because la-u (look-ahead url based) is needed for the proper value of request_filename. more info on it can be read on https://httpd.apache.org/docs/current/mod/mod_rewrite.html (search for la-u)some of the ways you can support the channel

All rights on the website belong to their respective owners and are shown here for viewing purposes only