Thursday, January 10, 2008

Configuring Apache2

I need to configure Apache so that is knows where the Gallary PHP stuff is found.

OK, I can see that Apache and PHP are working, what do I need to do to get Gallery working?

How do a get Apache to point to /usr/share/gallery2 folder?

OK, the /etc/gallery2/apache.conf file has what I need. (i.e. it tell apache where to look for the Gallery file.)

#Alias /gallery2 /usr/share/gallery2


Options FollowSymLinks
AllowOverride Limit Options FileInfo



Now where do I find the Apache file to put the change in?

/etc/apache2/apache2.conf

It looks like the user configuration are suppose to go in httpd.conf

OK, how do I stop and start Apache?

sudo invoke-rc.d apache2 restart

I still don't see the http://localhost/gallary2 directory.

I don't see anything in the error log.

/var/log/apach2/error.log

What is going on?

Is this a privileges problem?

No comments: