Apache on unix
From Null-pointer
Contents |
restart
[root@localhost ~]# service httpd restart
[root@localhost ~]# /etc/init.d/httpd restart
File locations
default conf
/etc/httpd/conf/httpd.conf
custom conf
/etc/httpd/conf.d/myconf.conf
document root
/var/www/html
logs
/var/log/httpd /etc/httpd/logs
cgi-bin
(13)Permission denied: exec of '/var/www/cgi-bin/test.cgi' failed
[root@localhost /var/www]# chcon -R -t httpd_sys_content_t -v cgi-bin[1]

