Need a .htaccess RewriteRule

Tamamlanmış İlan edilme: Apr 9, 2007 Teslim sırasında ödenir
Tamamlanmış Teslim sırasında ödenir

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.

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

Proje NO: #137494

Proje hakkında

2 teklif Uzak proje Aktif Apr 9, 2007

Seçilen:

devaka

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)
4.1

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

TakeReal

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)
6.0