[Discuss] apache -- same old

Jerry Feldman gaf at blu.org
Wed Jan 14 09:56:58 EST 2015


1. Especially in a multi-user environment, setting home directory to
0700 is the proper thing to do. You do not want other users looking into
your home directory
2. If you use RSA keys your home directory also needs to be 0700
But, in your case, where you essentially have a single user machine your
solution is workable.

On 01/13/2015 08:23 PM, dan moylan wrote:
> as suggessted by both joe polcari and john abreau, i corrected
> my home directory from 0700 to 0755 and the problem went away.
>
> however ....
>
> i was messing around with a file to enable cgi-bin and everything
> went to hell.  http://aldeberon/moylan/index.htm  came up but
> no links on the site worked.  pushing the refresh button produced
> the "not found" error, though putting the same url back in worked.
>
> deleting my test file in /etc/httpd/conf.d and rebooting, didn't
> help.  touching /.autorelable and rebooting fixed the situation.
> my site came up and all was well.
>
> i then put this file in /etc/httpd/conf.d and rebooted:
>
> # httpdusr.conf
> # link this to /etc/httpd/conf.d/httpdusr.conf
>
>   ScriptAlias /moylan/cgi-bin/ "/var/www/html/moylan/cgi-bin/"
>   <Directory "/var/www/html/moylan/cgi-bin">
> 	  SetHandler cgi-script
> 	  Options ExecCGI
> 	  Require all granted
>   </Directory>
>
> what followed was that nothing worked yet again.  my error is
> probably looking me in the face, but i don't see it.  help?
>
> tia,
> ole dan
>
> j. daniel moylan
> 84 harvard ave
> brookline, ma 02446-6202
> 617-777-0207 (cel)
> jdm at moylan.us
> www.moylan.us
> [no html pls]
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://lists.blu.org/mailman/listinfo/discuss
>

-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix
PGP key id:B7F14F2F
PGP Key fingerprint: D937 A424 4836 E052 2E1B  8DC6 24D7 000F B7F1 4F2F





More information about the Discuss mailing list