Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I am attempting to stop people from being able to browse directories on my server.

I have a fully functioning public facing LAMP on my pi but when you type in a dir name or my ip address you can see the DIR info.

Here is a live example http://anthonyrussell.info/postimages/

I was told to change this by editing the httpd.conf file but when I search for it, it doesn't exist.

enter image description here

What am I missing?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

I never installed Apache on a Raspberry Pi, but on Debian (the operating system Raspbian is based on) the config file is apache2.conf (not httpd.conf) and it should be in /etc/apache2.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.