1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# <IfModule php.c>
# php_flag display_errors 0
# </IfModule>
AddType application/x-httpd-php inc
RewriteEngine On
# Led alle foresp�rsler til www. til rot.
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteBase /
# Sett favicon
# tormsl: removed, as the favicon is actually a .ico file.
#RewriteRule ^favicon\.ico$ http://studentersamfundet.no/favicon.png [L]
RewriteCond %{HTTP_HOST} studentersamfunnet.no$
RewriteRule ^(.*) /nn/index.php?$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^bliaktiv http://studentersamfundet.no/bliaktiv.php [NC,QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^nyidns http://studentersamfundet.no/nyidns.php [NC,QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^blimed http://studentersamfundet.no/blimed.php [NC,QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^streaming http://studentersamfundet.no/streaming.php [NC,QSA,L]
RewriteCond %{HTTP_HOST} ^neuf\.no$ [OR]
RewriteCond %{HTTP_HOST} ^www\.neuf\.no$
RewriteRule ^/?$ "http\:\/\/studentersamfundet\.no\/" [R=301,L]
|