git://git.jankratochvil.net
/
www.jankratochvil.net.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update
[www.jankratochvil.net.git]
/
.htaccess
diff --git
a/.htaccess
b/.htaccess
index
f815410
..
f93e228
100644
(file)
--- a/
.htaccess
+++ b/
.htaccess
@@
-20,9
+20,11
@@
AddHandler cgi-script .cgi
IndexOptions NameWidth=*
AddType application/x-rpm .rpm
AddType application/x-nokia-9000-communicator-add-on-software .aos
IndexOptions NameWidth=*
AddType application/x-rpm .rpm
AddType application/x-nokia-9000-communicator-add-on-software .aos
-php_flag short_open_tag off
-php_flag magic_quotes_gpc off
-php_flag magic_quotes_runtime off
+<IfModule mod_php4.c>
+ php_flag short_open_tag off
+ php_flag magic_quotes_gpc off
+ php_flag magic_quotes_runtime off
+</IfModule>
<Files "kocky">
RewriteEngine on
<Files "kocky">
RewriteEngine on
@@
-42,6
+44,10
@@
php_flag magic_quotes_runtime off
RewriteEngine on
RewriteRule ^(/home/short/www/www.jankratochvil.net/)?sw/*(.*)$ http://www.jankratochvil.net/project/ [R=301] [L]
</Files>
RewriteEngine on
RewriteRule ^(/home/short/www/www.jankratochvil.net/)?sw/*(.*)$ http://www.jankratochvil.net/project/ [R=301] [L]
</Files>
+<Files "projects">
+ RewriteEngine on
+ RewriteRule ^(/home/short/www/www.jankratochvil.net/)?projects/*(.*)$ http://www.jankratochvil.net/project/$2 [R=301] [L]
+</Files>
<IfDefine SSL>
<Files "*.pl">
<IfDefine SSL>
<Files "*.pl">