Answer the question
In order to leave comments, you need to log in
Why is the apache2 javascript-common.conf file needed and what does it do? How does it work?
I found this file /etc/apache2/conf-available/javascript-common.conf
Question: What does it indicate, how and why does it work? Does Apache allow scripting like .conf configurations and .htaccess files to change options on the fly? How does NGINX have such a feature. Or not, was it created for other purposes?
Alias /javascript /usr/share/javascript/
<Directory "/usr/share/javascript/">
Options FollowSymLinks MultiViews
</Directory>
Answer the question
In order to leave comments, you need to log in
Nonsense that doesn't affect anything.
Apache allows unthinkable perversions with configs, and many people use it.
If we read it literally, we get the following:
"When accessing the /javascript URL element (ie www.zhopa/javascript/zadnica.js), look for the zadnica.js file in the /usr/share/javascript
directory" "To the /usr/share/ directory javascript set the MultiViews option"
If there is no /usr/share/javascript directory or you didn't create such a config yourself - well, put it away - most likely nobody needs it.
You can delete it, in fact it is some kind of alias for scripts. Perhaps it refers to the Apache documentation, but do you need it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question