All pastes #18370 Raw Edit

Miscellany

public text v1 · immutable
#18370 ·published 2005-07-24 03:16 UTC
rendered paste body
embedded

# BEGIN Url Rewrite section
# (Automatically generated.  Do not edit this section)
<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d [OR] 
    RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
    RewriteCond %{REQUEST_FILENAME} !wp-gallery2\.php
    RewriteRule .   -   [L]

    
    RewriteCond %{THE_REQUEST} \ /wpg2//slideshow.html(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !wp-gallery2\.php
    RewriteRule .   /wp-gallery2.php?g2_view=slideshow.Slideshow   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /wpg2/(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !wp-gallery2\.php
    RewriteRule .   /wp-gallery2.php?g2_view=core.ShowItem   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /wpg2/view/([0-9]+).html(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !wp-gallery2\.php
    RewriteRule .   /wp-gallery2.php?g2_view=core.ItemAdmin&g2_subView=comment.ShowComments&g2_itemId=%1   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /wpg2/add/([0-9]+).html(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !wp-gallery2\.php
    RewriteRule .   /wp-gallery2.php?g2_view=core.ItemAdmin&g2_subView=comment.AddComment&g2_itemId=%1   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /wpg2/([0-9]+)-([0-9]+)/([^\/]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !wp-gallery2\.php
    RewriteRule .   /gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /wpg2/([^?]+)/slideshow.html(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !wp-gallery2\.php
    RewriteRule .   /wp-gallery2.php?g2_view=slideshow.Slideshow&g2_path=%1   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /wpg2/([^?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !wp-gallery2\.php
    RewriteRule .   /wp-gallery2.php?g2_view=core.ShowItem&g2_path=%1   [QSA,L]

</IfModule>

# END Url Rewrite section


Standalone

# BEGIN Url Rewrite section
# (Automatically generated.  Do not edit this section)
<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteBase /gallery2/

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d [OR] 
    RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
    RewriteCond %{REQUEST_FILENAME} !main\.php
    RewriteRule .   -   [L]

    
    RewriteCond %{THE_REQUEST} \ /gallery2/wpg2//slideshow.html(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !main\.php
    RewriteRule .   /gallery2/main.php?g2_view=slideshow.Slideshow   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /gallery2/wpg2/(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !main\.php
    RewriteRule .   /gallery2/main.php?g2_view=core.ShowItem   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /gallery2/wpg2/view/([0-9]+).html(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !main\.php
    RewriteRule .   /gallery2/main.php?g2_view=core.ItemAdmin&g2_subView=comment.ShowComments&g2_itemId=%1   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /gallery2/wpg2/add/([0-9]+).html(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !main\.php
    RewriteRule .   /gallery2/main.php?g2_view=core.ItemAdmin&g2_subView=comment.AddComment&g2_itemId=%1   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /gallery2/wpg2/([0-9]+)-([0-9]+)/([^\/]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !main\.php
    RewriteRule .   /gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /gallery2/wpg2/([^?]+)/slideshow.html(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !main\.php
    RewriteRule .   /gallery2/main.php?g2_view=slideshow.Slideshow&g2_path=%1   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /gallery2/wpg2/([^?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !main\.php
    RewriteRule .   /gallery2/main.php?g2_view=core.ShowItem&g2_path=%1   [QSA,L]

</IfModule>

# END Url Rewrite section