summaryrefslogtreecommitdiff
path: root/web-server/wwwcvs-orig-files/modules/wwwgnu-nongnu/files/www.nongnu.org
diff options
context:
space:
mode:
Diffstat (limited to 'web-server/wwwcvs-orig-files/modules/wwwgnu-nongnu/files/www.nongnu.org')
-rw-r--r--web-server/wwwcvs-orig-files/modules/wwwgnu-nongnu/files/www.nongnu.org45
1 files changed, 45 insertions, 0 deletions
diff --git a/web-server/wwwcvs-orig-files/modules/wwwgnu-nongnu/files/www.nongnu.org b/web-server/wwwcvs-orig-files/modules/wwwgnu-nongnu/files/www.nongnu.org
new file mode 100644
index 0000000..f8b3226
--- /dev/null
+++ b/web-server/wwwcvs-orig-files/modules/wwwgnu-nongnu/files/www.nongnu.org
@@ -0,0 +1,45 @@
+<VirtualHost *:80>
+ ServerAdmin webmasters@gnu.org
+ ServerName www.nongnu.org
+
+ ServerAlias nongnu.org
+
+ # Temporary for IPv6: we'll assign the AAAA record directly to
+ # www.gnu.org when we're 100% confident about its reliability
+ ServerALias www.ipv6.nongnu.org
+ ServerAlias www6.nongnu.org
+
+ DocumentRoot /var/www/savannah-checkouts/non-gnu/
+
+ <Directory /var/www/savannah-checkouts/non-gnu>
+ # Turn on SSI processing
+ Options Indexes IncludesNoExec MultiViews SymLinksIfOwnerMatch
+ # AllowOverride FileInfo so that people can use .htaccess to redirect subdirectories elsewhere
+ # Cf. RT #738350. Ward, 2012-05-18
+ AllowOverride FileInfo
+ </Directory>
+
+ ErrorDocument 404 /nongnu-404.html
+
+ RewriteEngine on
+ #RewriteLog "/var/log/apache2/nongnu-rewrite.log"
+ #RewriteLogLevel 3
+ RedirectMatch ^/$ http://savannah.nongnu.org/
+ # automatically handle projects that have migrated from non-gnu to gnu
+ RewriteCond /var/www/savannah-checkouts/gnu/$1 -d
+ RewriteRule ^/([^/]+)(.*)$ http://www.gnu.org/software/$1$2 [R,L]
+ # and finally handle packages whose names have changed:
+ RewriteRule ^/auctex/$ http://www.gnu.org/software/auctex/ [R]
+ RewriteRule ^/auctex$ http://www.gnu.org/software/auctex/ [R]
+ RewriteRule ^/qadsl(.*)$ http://www.gnu.org/software/alive$1 [R,L]
+ RewriteRule ^/hotp-toolkit(.*)$ http://www.nongnu.org/oath-toolkit$1 [R,L]
+ RewriteRule ^/fenfire(.*)$ http://fenfire.org/ [R,L]
+
+ AddHandler server-parsed .html .shtml
+
+ # Include nongnu/* symlinks
+ Include /etc/apache2/symlinks/symlinks-nongnu.conf
+
+ ErrorLog /var/log/apache2/nongnu-error.log
+ CustomLog /var/log/apache2/nongnu-access.log combined
+</VirtualHost>