Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 2
Subject:   very helpful but...
Date:   2001-12-17 11:02:36
From:   swatson
I had couple of problems:
I couldn't open files from the terminal in bbedit (I have it on my machine) I had to use bbedits "open by filename" feature


when trying to access the access.log I couldn't. I browsed the directory and finally got the info from the access_log file


I couldn't chmod 755 the cgi directory I didn't have permissions (not logged in as root). I had to use the "sudo" feature I learned elsewhere on the site


the command from the terminal:
sudo chmod 755
gives you temporary root access and requires a password


Great tutorial though. I learned a lot. I just quadrupled my knowledge of apache. Thanks.

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Morbus Iff photo very helpful but...
    2001-12-17 13:42:39  Morbus Iff | O'Reilly Author [View]

    Swatson,

    Thanks for the comments. By default, BBEdit 6.5 doesn't install the Unix shell command. You should be able to find an installer on the BBEdit 6.5 cd (or ESD) that will allow you to install the shell utilities.

    What sort of error message did you get when you tried to tail the access_log?
    • very helpful but...
      2001-12-17 23:04:27  cp21yos [View]

      I've just gone back and checked my terminal (I worked through the article as I read it) and I was using the auto-complete function to fill out the path & file names so I didn't notice that it had filled out:
      tail /var/log/httpd/access_log

      If I list the directory you can see that an underscore is used...
      [cto:~] cto% l /var/log/httpd/
      total 8
      -rw-r--r-- 1 root wheel 0 Nov 16 17:16 access_log
      -rw-r--r-- 1 root wheel 4008 Dec 2 11:11 error_log


      Great Articles by the way.
    • very helpful but...
      2001-12-17 19:37:13  swatson [View]

      thanks for the bbedit tip works now.
      the instructions say
      "Apache's access file is located in /var/log/httpd/access.log. Let's look at the very last lines of that file, easily reached with this command:

      tail /var/log/httpd/access.log"

      when actually I had to use:
      tail /var/log/httpd/access_log