Eireann Lewy wrote:

> As for recreating that whole making-a-dir-with-bad-perms thing I don't
> think I can do it because whenever I mkdir it has correct perms,
> regardless of how I am logged in (i.e. my normal user vs. root vs.
> anything else). Perhaps that was just a fluke.  In any case, my people
> have been alerted as to how to chmod and chown now and know when and
> when not to play with those ever-so-powerful commands. ;)

Try su-ing to one of the users having these problems, and making
directories in their home somewhere.

> As for the CGI, it still does not work. I entered the line earnest told
> me to enter. I did so using "echo" (which is what the rest of the file
> uses) as well as using print. I tried with and without a semi-colon on
> the end. I restarted httpd after each change. No help. So now I am
> pasting the file. This is for a script which runs finger on the machine
> and prints the e-mail addie to the web user.

Are you sure that finger works? What happens if you comment it out?

Try the bare-bones script below, and see if that works. What about if
you change 'text/html' to 'text/plain'?

--
#!/usr/bin/csh -f

echo "Content-type: text/html\n\n"
echo ""
echo "<HTML>"
echo "<body bgcolor=white text=black link=red>"

echo "Yeah, it works<br>"

echo "</body>"
echo "</html>"
--

Are you sure apache is configured to allow the running of cgi scripts?


Matthew

Reply via email to