Sonam Chauhan wrote:
> Mike complained that...
> > Still get "You don't have permission to access /mikel/cgi-bin/test on
> > this server."
> 
> Mike, you still may be using
>         http://xxx.uts.edu.au/mikel/cgi-bin/test [WRONG]
> instead of                  ^^^^^^^^^^^^^^^^
>          http://xxx.uts.edu.au/cgi-bin/test
>                               ^^^^^^^^^
> Make sure this isn't the case.
> 
> I would recommened having the simplest configuration. Apache's  .conf
> files are complex , brittle, and can interact in unpredictable ways.

At home I started from scratch with the Apache files, read the docs, and
eventualy got it working. Its working here as well now. I think that my
prob was that I had my sections opening it up for me at the start of the 
config files instead of at the end. This is what I ended up with and it
works.

At end of acess.conf:
##########################################################
### ML May2000: Added this to allow access to my directory
<Directory /home/mikel/public_html>
order deny,allow
deny from all
allow from 192.168.1.
Options Indexes FollowSymLinks
</Directory>

<Directory /home/mikel/cgi-bin>
order deny,allow
deny from all
allow from 192.168.1.
Options ExecCGI
</Directory>
##########################################################

> Merge access.conf and srm.conf into commented sections of httpd.conf.
> "httpd -t" will do a syntax check on the config files. You must restart
> the server though to see the change though.

Ok I'll try that. I notice that when I change the configs apache does
notice 
as the access log detects that but I play safe and started and stopped
it with
the script from /etc/rc.d/init.d (sto, start, status).

> Getting a security audit is a good idea. There are too many configurable
> things in Apache that can turn into security holes - e.g. the Apache.org
> exploit reported today.

Yep! Who gives freeee ones?

Thanks for the suggestions you all made. Thanks ken for the tips also to
check 
all dirs for x. The computer experiment for next semester
is coming along fine now. I can run my Monte Carlo simulation from
Netscape.

Mike

--------------------------------------------------------------------
Michael Lake
University of Technology, Sydney
Email: mailto:[EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
URL: http://www.science.uts.edu.au/~mikel
Linux enthusiast, active caver and interested in anything technical.
--------------------------------------------------------------------
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to