Need a .htaccess RewriteRule

I have a site containing both full-size images as well as thumbnails of them. The images and their thumbnails live in the same directories.

I need a .htaccess rewrite rule that rewrites for:

http://SomeDirectory/Some-Subdirectory/[url removed, login to view]

but not:

http://SomeDirectory/Some-Subdirectory/[url removed, login to view]

My current rule is:

RewriteRule ^(SomeDirectory.*)/(.*.[jJ].*)$ /[url removed, login to view]$1&i=$2

The problem is that it rewrites for thumbnails as well as the full-sized images. I currently work around this in [url removed, login to view], but would rather not waste system resources invoking a php page for every thumbnail.

Beceriler: Linux, Perl, Sistem Yöneticisi, Web Güvenliği, XML

Daha fazlasını gör: rewriterule jpg, htaccess rewriterule, htaccess rewriterule subdirectory, rewriterule thumb, htaccess rewrite rule, rewriterule allow thumbnails, rewrite rule creator, htaccess rewrite images, watermark htaccess, htaccess rewrite creator, rewriterule, rewriterule htaccess subdirectory, php watermark htacces without thumb, htaccess rewriterule thumb, rewriterule images, rewriterule watermark, rewriterule jpg thumb, jpg htaccess thumb, rewriterule htaccess thumbnail, rewriterule watermark image

İşveren Hakkında:
( 18 değerlendirme ) Waltham, United States

Proje NO: #137494



Try that: RewriteRule ^(SomeDirectory.*)/([^/]+(?!thumb).jpg)$ /[login to view URL]$1&i=$2

%selectedBids___i_period_sub_7% gün içinde 30%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(11 Değerlendirme)

Bu iş için 2 freelancer ortalamada $30 teklif veriyor


Give me FTP access and I will rewrite ".htaccess" today. Thumbnails will be excluded from RewriteRules

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(216 Değerlendirme)