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

Oct
24
awarded  Popular Question
Sep
16
awarded  Popular Question
Sep
9
awarded  Yearling
Aug
26
awarded  Popular Question
Dec
6
awarded  Self-Learner
Sep
16
accepted How to synchronize command calls on Linux
Sep
13
awarded  Citizen Patrol
Sep
13
accepted Relative substitution in mod_rewrite RewriteRule
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.
Sep
13
awarded  Teacher
Sep
13
accepted Set custom mount point and mount options for USB stick
Sep
13
answered How to synchronize command calls on Linux
Sep
13
asked How to synchronize command calls on Linux
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
awarded  Supporter
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.
Jun
9
asked Relative substitution in mod_rewrite RewriteRule
Dec
31
answered Set custom mount point and mount options for USB stick
Dec
31
asked Set custom mount point and mount options for USB stick
Nov
3
awarded  Scholar