ServerName www.divvun.no ServerAdmin webmaster@localhost ### From here DocumentRoot "/Users/sd/xtdoc/sd/src/documentation/content/xdocs" RewriteEngine on RewriteRule "^/static_files/?(.*)" "$0" [L] RewriteRule "^/(.*)" "http://localhost:8888/$1" [P] RewriteRule "^/$" http://localhost:8888/ [P] RewriteRule %{HTTP_HOST} ^divvun.no$ [NC] RewriteRule ^(.*)$ http://www.divvun.no/$1 [R=301,L] ProxyRequests Off ProxyPassReverse http://localhost:8888/ / ProxyPreserveHost On ### ... to here is modified by borre.gaup@samediggi.no ### following instructions from the page: ### http://wiki.apache.org/cocoon/ApacheModProxy Order deny,allow Allow from all # ProxyPass http://129.242.176.166/~sd/ / Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place #RedirectMatch ^/$ /apache2-default/ ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all ErrorLog "/var/log/apache2/error.log" # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog "/var/log/apache2/access.log" combined ServerSignature On Alias /doc/ "/usr/share/doc/" Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 # The following line was added on march 26th, which caused the webserver to # go to the address http://divvun.no/groups/(null)/ which obviously was # wrong # Commented out on the 27th by boerre # RedirectMatch temp ^/$ "/groups/(null)/" # # ServerAdmin webmaster@localhost # ServerAlias divvun.no #