Apache on unix

From Null-pointer

Jump to: navigation, search

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]


See also

References

  1. http://forums.fedoraforum.org/archive/index.php/t-41377.html
Personal tools