Mac OS X - Apache Way? Ruby on Apache?

I can activate apache web server in System Preferences. Now I want to install some mods, but I can not find the way. Everyone says it is / usr / local / apache, but that does not exist. Where can I find my apache path to install mods?

Thank you CMO

[edit]

In particular, I want to install Ruby integration so that I can include <%%> Ruby tags in my HTML. If anyone has any hints on how to do this, or tutorials, tell me about it. All rubies seem to use Mongrel, but I have apache, and I want it to work there if possible. thank.

+3
source share
3 answers

Mac OS X 10.6 /usr/libexec/apache2.

/etc/apache 2/httpd.conf, , .

ruby, MacPorts FastCGI. MacPort, :

port install fcgi

MacPorts, (port selfupdate; port upgrade outdated )

+3

/private/etc/apache2/ (Mac OS 10.6). Apachectl script /usr/sbin/apachectl. httpd /usr/sbin/httpd.

+1

The conf files are in / private / etc / apache 2, and the mod files are in / usr / libexec / apache2

0
source

Source: https://habr.com/ru/post/1775290/


All Articles