Commit e3b78a5f authored by anarcat's avatar anarcat

subdir: reuse the same variables as the usual vhost template

parent 7f391a31
Alias /<?php print $subdir; ?> <?php print $platform_path; ?>
Alias /<?php print $subdir; ?> <?php print $this->root; ?>
<Location /<?php print $subdir; ?>>
......@@ -20,7 +20,7 @@ Alias /<?php print $subdir; ?> <?php print $platform_path; ?>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^<?php print $platform_path; ?>/(.*)$ /<?php print $location; ?>/index.php?q=$1 [L,QSA]
RewriteRule ^<?php print $this->root; ?>/(.*)$ /<?php print $location; ?>/index.php?q=$1 [L,QSA]
</IfModule>
</Location>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment