1
culex
Images not showing in userinfo.php and other php pages
  • 2011/1/3 23:42

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


I have noticed both in 2.4.5 and now 2.50 that .htaccess doesnt allow my userinfo.php and other php pages to fetch images from especially uploads folder.

My solution is to delete the .htaccess file from the uploads folder but in this case the security attached to the file goes, other choises are to remove php, phps from the file or to add

<FilesMatch ".(ico|pdf|flv|jpg|jpeg|bmp|mp3|mpg|mp4|mov|wav|wma|wmv|png|gif|swf|css|js)$">
Allow from All
FilesMatch>


to allow images to be fetched. Any suggestions ?
Programming is like sex:
One mistake and you have to support it for the rest of your life.

2
ghia
Re: Images not showing in userinfo.php and other php pages
  • 2011/1/4 8:27

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


The .htaccess contains three instructions.
A lot of people have not permission to modify these settings on their server.
Remove one by one on turn the line to find out which is the problem and leave only the other instructions.

Login

Who's Online

140 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 140


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits