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
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
2673
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