title: Magento theme crash - Error 500 on theme images
body: <p>I successfully created a few magento themes, which are all running fine on the webservers. Because that there were some changes from other developers done on the webserver (also running fine) I tried to import all files from my theme back to my local system to apply some fewer changes.
  After that my theme on the localhost crashed completely all of a sudden. The sources of the sites are ok, but all images, which should be loaded out of the skin/../images folder were not displayed. If i try to open them with my browser I got a 500 Internal Server Error, but they are stored on the right place in the file system.</p>
  
  <p>So I checked a few of my earlier themes, but they were all fine, if i back up them from the file system or other folders to my magento installation. </p>
  
  <p>So i finally set up a new local magento installation, but get the same Error as well. As I said, all my other themes are working well, and the webserver with the actual theme has no issues so far.</p>
  
  <p>best regards</p>
  
  <p>Edit to answer the idea of @Oğuz </p>
  
  <p>Thank you for your answers.
  I checked the logs after I get the error, and get the following:</p>
  
  <pre><code>[Sun Mar 18 20:53:24 2012] [crit] [client 127.0.0.1] (13)Permission denied: /var/www/theme/media/catalog/category/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://localhost/theme/index.php/apparel/shirts.html
  [Sun Mar 18 20:53:25 2012] [error] [client 127.0.0.1] script '/var/www/index.php' not found or unable to stat, referer: http://localhost/theme/index.php/apparel/shirts.html
  [Sun Mar 18 20:53:25 2012] [crit] [client 127.0.0.1] (13)Permission denied: /var/www/theme/media/catalog/category/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://localhost/theme/index.php/apparel/shirts.html
  [Sun Mar 18 20:53:39 2012] [error] [client 127.0.0.1] script '/var/www/index.php' not found or unable to stat, referer: http://localhost/theme/index.php/apparel/shirts/zolof-the-rock-and-roll-destroyer-lol-cat-t-shirt.html
  [Sun Mar 18 20:53:39 2012] [error] [client 127.0.0.1] script '/var/www/index.php' not found or unable to stat, referer: http://localhost/theme/index.php/apparel/shirts/zolof-the-rock-and-roll-destroyer-lol-cat-t-shirt.html
  [Sun Mar 18 20:54:37 2012] [error] [client 127.0.0.1] client denied by server configuration: /var/www/theme/app/etc/local.xml
  [Sun Mar 18 20:54:51 2012] [error] [client 127.0.0.1] script '/var/www/index.php' not found or unable to stat, referer: http://localhost/theme/index.php/apparel/shirts/zolof-the-rock-and-roll-destroyer-lol-cat-t-shirt.html
  [Sun Mar 18 20:54:51 2012] [error] [client 127.0.0.1] script '/var/www/index.php' not found or unable to stat, referer: http://localhost/theme/index.php/apparel/shirts/zolof-the-rock-and-roll-destroyer-lol-cat-t-shirt.html
  [Sun Mar 18 20:56:33 2012] [error] [client 127.0.0.1] client denied by server configuration: /var/www/theme/app/etc/local.xml
  [Sun Mar 18 20:56:41 2012] [error] [client 127.0.0.1] client denied by server configuration: /var/www/theme/app/etc/local.xml
  [Sun Mar 18 20:56:49 2012] [alert] [client 127.0.0.1] /var/www/theme/skin/frontend/theme/green/images/.htaccess: Invalid command 'ExpiresDefault', perhaps misspelled or defined by a module not included in the server configuration
  </code></pre>
  
  <p>I'm not sure, why I'm getting these all of a sudden. I try to focus on the local.xml issue first.</p>
  
  <p>Edit #2</p>
  
  <p>Thank you for all the ideas and answers. After checking my local server I discovered, that i have that issue on nearly every page hosted on my server. Seems to be a bad configuration somewhere in the apache configuration files.
  I'll try to fix it there on my next step.</p>
  
  <p>I also checked the AllowOverride directive as well, but it was already set to 'All'.</p>