![]()
$ sudo mv /etc/httpd/conf.d/nf /etc/httpd/conf.d/ # disable autoindex configuration $ sudo vim /etc/httpd/conf.d/nfĮrrorLog "logs/error_log_neolane" # custom error file, will be in /var/log/httpd/error_log_neolane because /etc/httpd/conf/logs points to /var/log/httpd ![]() $ sudo firewall-cmd -add-service =http -permanent # allow firewall http $ sudo firewall-cmd -add-service =https -permanent # allow firewall https $ sudo firewall-cmd -reload $ sudo vim /etc/httpd//nf # comment the following modules, with a trailing #: #auth_basic Loaded: loaded (/usr/lib/systemd/system/rvice enabled vendor preset: disabled ) Active: active (running) since Wed 16:53:12 EST 1min 22s ago $ sudo systemctl start httpd # start now $ sudo systemctl enable httpd # start at boot $ service httpd status
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |