0
At the time of commissioning data from APACHE servers with PHP, what should we do about the file ".htacess"?
0
At the time of commissioning data from APACHE servers with PHP, what should we do about the file ".htacess"?
1
I did not understand the doubt well, but first correct the name for .htacess
for .htaccess
(two letters c
and two letters s
), should work.
The .htaccess
is not directly connected and is not necessary for you to "consume" the data, Apache is the server, PHP is the dynamic language of server-side (we call it server-side
).
mysql is another server which is accessed by the PHP Apis.
And the .htaccess
is something that is used to adjust some settings of Apache and Apache modules, for example:
mod_rewrite
)mod_headers
)Apart from a number of other modules like in the Apache tutorial: http://httpd.apache.org/docs/current/howto/htaccess.html
Browser other questions tagged php web-application apache htaccess
You are not signed in. Login or sign up in order to post.
@If the feedback answer is something like "rewrite urls", then the proof is wrong (believe me, I’ve seen bizarre things like this), we can say. htaccess is for configuring Apache modules from which to allow the context of . htaccess (it has an Apache module that can only be configured in
httpd.conf
, ie requires part of the server administrator), who rewrites the Urls is module "mod_rewrite", the . htaccess only allows you to configure it.– Guilherme Nascimento