Problem with Ubuntu Apahce2.4 unable to access the JS directory has been resolved
- 2020-05-27 08:03:34
First reaction 1, Google made an error
"And found that most of the answers referred to the Directory Settings in the configuration file. Such as
<Directory /> Options FollowSymLinks AllowOverride All Order deny,allow Allow from all </Directory>
<Directory /home/hfx/workspace/> Options Indexes FollowSymLinks # AllowOverride None AllowOverride All Require all granted </Directory>
Found the problem
You don't need to edit the conf file or purge the package just disable it.
If for some reason you want to use that conf:
In addition, explain the role of a2disconf and a2enconf
a2enconf, a2disconf - enable or disable an apache2 configuration file
The function of it is straightforward from the introduction. Quickly enable or disable 1 apache module.
There are also several similar commands:apache2ctl - Apache HTTP server control interface a2enmod, a2dismod - enable or disable an apache2 module
The above is the whole content of this article, I hope the content of this article to your study or work can bring 1 definite help, if you have questions you can leave a message to communicate.