Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-28-2008, 05:55 AM
Junior Member
 
Join Date: Jan 2008
Posts: 1
Default .htaccess problem

Dear All

I am studying Zend Framwork and needed help in an area.

I am using the default directory structure for my project.

I have put the images for my application in html/images.

when i am trying to access the images via <img src=""> the images are not accessible because a .htaccess file is there in html folder like below.
RewriteEngine on
RewriteRule !\\.(js|ico|gif|jpg|png|css)$ index.php

I need to access the images from my code using src, but it should not be accessed directly through url by the user.

Please help me on this.

Thanks and Regards
Sreekanth
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-09-2008, 05:17 PM
Senior Member
 
Join Date: Jan 2008
Location: chicago
Posts: 101
Default

That rule is stating that files with extensions such as gif, jpg, png and more should not redirect so it should work
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:13 PM.