mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-30 19:50:36 -04:00
Add "Options +FollowSymLinks" to the example mod_rewrite rules and put
it in a textarea for easy copying.
This commit is contained in:
@@ -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>
|
||||
<IfModule mod_rewrite.c><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/>
|
||||
</IfModule><br/>
|
||||
</code>
|
||||
<textarea rows="2"><IfModule mod_rewrite.c>
|
||||
Options +FollowSymLinks
|
||||
RewriteEngine On
|
||||
RewriteBase <?= html::clean(g2_import::$g2_base_url) ?>
|
||||
RewriteRule ^(.*)$ <?= url::site("g2/map?path=\$1") ?> [QSA,L,R=301]
|
||||
</IfModule></textarea>
|
||||
</div>
|
||||
<? endif ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user