I can activate an apache webserver in the System Preferences. Now I want to install some mods but I can’t find the path. Everybody suggests it is /usr/local/apache, but that doesn’t exist. Where can I find my apache path to install the mods?
Thanks,
MrB
[edit]
Specifically, I want to install Ruby integration so I can include <% %> Ruby tags in my HTML. If anyone has any hints on how to do this, or tutorials, please say so. All the Ruby folks seem to be using Mongrel, but I have apache and want it to work there, if possible. Thx.
On Mac OS X 10.6, the modules are located in
/usr/libexec/apache2.You can look into the configuration file in /etc/apache2/httpd.conf to figure out the path if you’re not finding them there.
As for using ruby you can use MacPorts to install FastCGI. Follow the instructions to install MacPort and then run:
Using MacPorts you get the benefit of easy updates (
port selfupdate; port upgrade outdated
)