Install Problem: .htaccess file

sdimbert
sdimbert's picture

Joined: 2002-09-06
Posts: 17
Posted: Thu, 2002-10-03 05:46

Newbie here... not new to Gallery. But I'm new to running my own server.

I'm trying to install Gallery on a WebServer on my home network. It's a brand new install of Yellow Dog Linux on an old Mac Clone and I've just gotten SSH, ProFTP and httpd working. So now I want to install Gallery.

When I run the Install Wizard, I'm told:

Quote:
Warning! Apache is not obeying your .htaccess file. Try entering the following into your web server's httpd.conf file:

<Directory /var/www/html/gallery>
AllowOverride Options FileInfo
</Directory>

My question: where in httpd.conf does this insertion happen?

[Edited to add:]
NEVER MIND!

I forgot /etc/rc.d/init.d/httpd restart.

Thanks anyway.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2002-10-04 21:47

If you're running inside a virtual hosted environment, you need to put it in the right <VirtualHost> block. Otherwise, just put it anywhere.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2002-10-04 21:47

...and don't forget to restart your webserver afterwards.