Links
Tags
apache
armenia
books
bsd
c
c++
chips
cinema
concurrency
cooking
database
dragonfly
erlang
filesystem
freebsd
fun
hardware
java
javascript
json
languages
linux
lyric
mac_osx
mail
math
misc
music
personal
poems
presentation
programming
python
references
ruby
rubyjs
scm
software
spiking_neural_net
study
sysadm
sysarch
technology
testing
travel
virtualization
web
wee
windows
ScriptAlias /blog "/home/mneumann/cm/my_rublog/index.cgi"
When using virtual hosting, make sure the following directive is inside your <VirtualHost>:
AddHandler cgi-script .cgi
Replace /home/mneumann/cm/my_rublog/index.cgi with the path to your RubLog CGI script.
Say you want to redirect every path below /proxy on your main webserver to another webserver listening at localhost:8080. All you have to do is to modify your httpd.conf file by adding the following lines:
LoadModule proxy_module libexec/apache2/mod_proxy.so
LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so
<Location /proxy>
ProxyPass http://localhost:8080
</Location>
Finally restart the main webserver (apachectl restart).