Let's try this again...

On Mon Dec 17, 2001 at 12:21:50PM -0800, Panagiotis Halatsakos wrote:

> Hi, I have a box with LM8.1. and apache extranet
> server 1.3.22 installed.
> 
> The box belongs to a network and is viewable by the
> internet( like linuxbox1.mydomain.com). Since this
> will be used as a webserver, I needed some secure from
> the outworld things. So I used the deny directive as
> follows (in commonhttpd.conf):
> 
> Alias /new/ /webdocs/new/
> <Directory /webdocs/new>
> AllowOverride None
> Options Indexes Multiviews
> Order deny,allow
> Deny from all
> Allow from 127.0.0.1
> </Directory>
> 
> Ok. Now I restarted the server with :
> #apachectl-perl restart

Ummm..  wouldn't this only restart the httpd-perl server?  I think
what you want to do is:

# service httpd restart

This would restart both httpd and httpd-perl.  Unless you're running
everything through apache-perl, you will need to restart the "regular"
apache as well.

-- 
MandrakeSoft Security, OpenPGP key available on www.keyserver.net
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD

Current Linux kernel 2.4.8-34.1mdk uptime: 28 days 3 hours 36 minutes.

Attachment: msg46327/pgp00000.pgp
Description: PGP signature

Reply via email to