Can you please help me install Apache modules?

Question by Shaun: Can you please help me install Apache modules?
I have started work on drupal and it seems I need a little Apache configuration knowledge. I need to implement this “Allow from address” so that I can block certain ip addresses but I don’t know which file to edit.

System = Linux Ubuntu 10.04
SO the idea is to block access to certain node (pages). To do this I’ll need to implement the mod.

Best answer:

Answer by Ben
Right. So you are trying to Allow certain IP addresses to access your localhost? If so, edit the httpd.conf file with these values:

FIND THIS:

Order Allow,Deny
Allow from all

REPLACE WITH:

Order allow,deny
Allow from 192.168.1.0
#and so on

192.168.1.0 should be replaced with your computer’s IP (linux, I don’t know how to get it, sorry) for you to be allowed access to it.

Give your answer to this question below!

Revisions

There are no revisions for this post.

Tags: , , , ,

No comments yet.

Leave a Reply