apache - Absolute file paths in mod_rewrite - allowed? -
this is a follow-up
I am trying to create a mod_rewrite
Rules where the restart is a complete path outside the target web root, such as
RewriteRule ^ manual (/(.*))?$ / www / htdocs / customname / manual / $ 2 [L ]
I need to do this because I have a alias
in a .htaccess
reference (shared hosting) in can not use.
The reactions pointing to this are not possible.
Is this true? I can not find any clear information in the manual
Can anyone be clear when full path is possible, and when they are not?
It is certainly possible to use full file path in your server config.
You can not do this in .htaccess
file However, this can give you access to read files outside of your document root, even other customers Files from that & lt; Location ... & gt; Block.
Comments
Post a Comment