215 reputation
110
bio website
location
age
visits member for 4 years, 5 months
seen Oct 10 '12 at 7:24

Sep
13
comment Relative substitution in mod_rewrite RewriteRule
I accept this answer because no solution appeared for a long time. So I simply have to live with the fact that it is not possible without setting RewriteBase or using absolute URLs in the rewrite targets.
Jun
9
comment Relative substitution in mod_rewrite RewriteRule
@Phil: I know that the rules don't need to be in .htaccess but I WANT them in .htaccess and I WANT it to be inside the directory of the web and not somewhere in a parent dir. The reason is "easy deployment". Simply unzip the web somewhere and it works out of the box. When I have to manually configure a RewriteBase or manually create some .htaccess file elsewhere or manually edit the global apache configuration then this is counter-productive.
Jun
9
comment Relative substitution in mod_rewrite RewriteRule
This doesn't work. When the .htaccess file is located in the directory which is publicly accessible via the path /foo/bar and I access the file /foo/bar/test.html then $1 only contains /test.html. The path which is outside of the scope of the .htaccess file is stripped away by mod_rewrite.
Nov
2
comment Conflicts between ACLs and umask
Doesn't work. And as far as I remember the setgid flag only enforces the group id and not the group permissions.