I have tried to restart Apache via the terminal, and got this:
Last login: Mon Feb 12 10:27:09 on ttyp1
Welcome to Darwin!
[Blackburn:~] pqb% apachectl graceful restart
/usr/sbin/apachectl graceful: httpd not running, trying to start
Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/pqb.conf
fopen: Permission denied
httpd: could not open error log file /private/var/log/httpd/error_log.
/usr/sbin/apachectl graceful: httpd could not be started
/usr/sbin/apachectl restart: httpd not running, trying to start
Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/pqb.conf
fopen: Permission denied
httpd: could not open error log file /private/var/log/httpd/error_log.
/usr/sbin/apachectl restart: httpd could not be started
[Blackburn:~] pqb%
Could anyone help, please?
TIA
When posting the .cgi files to my website, some would execute, but
others, eg a file trying to print the Environment variables program.
I checked permissions via my FTP program, and they were all the same.
Is this because my ISP only allows certain cgi functions?
> [Blackburn:~] pqb% apachectl graceful restart
> /usr/sbin/apachectl graceful: httpd not running, trying to start
> Processing config directory: /private/etc/httpd/users/*.conf
> Processing config file: /private/etc/httpd/users/pqb.conf
> fopen: Permission denied
> httpd: could not open error log file /private/var/log/httpd/error_log.
[...]
You need root permissions to do that. Try adding "sudo" before the
command.
--
Tom "Tom" Harrington
MondoMouse makes your mouse mightier
See http://www.atomicbird.com/mondomouse/