Skip to content

Commit

Permalink
Add "Options +FollowSymLinks" to the example mod_rewrite rules and put
Browse files Browse the repository at this point in the history
it in a textarea for easy copying.
  • Loading branch information
bharat committed Sep 7, 2010
1 parent 2f810ec commit 2f94dfc
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions modules/g2_import/views/admin_g2_import.html.php
Expand Up @@ -99,13 +99,12 @@
<?= t("Once your migration is complete, put this block at the top of your gallery2/.htaccess file and all Gallery 2 urls will be redirected to Gallery 3") ?>
</p>

<code>
&lt;IfModule mod_rewrite.c&gt;<br/>
RewriteEngine On<br/>
RewriteBase <?= html::clean(g2_import::$g2_base_url) ?><br/>
RewriteRule ^(.*)$ <?= url::site("g2/map?path=\$1") ?> [QSA,L,R=301]<br/>
&lt;/IfModule&gt;<br/>
</code>
<textarea rows="2">&lt;IfModule mod_rewrite.c&gt;
Options +FollowSymLinks
RewriteEngine On
RewriteBase <?= html::clean(g2_import::$g2_base_url) ?>
RewriteRule ^(.*)$ <?= url::site("g2/map?path=\$1") ?> [QSA,L,R=301]
&lt;/IfModule&gt;</textarea>
</div>
<? endif ?>
</div>
Expand Down

0 comments on commit 2f94dfc

Please sign in to comment.