Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an Apache2 server running on Ubuntu 12.04 LTS. I can load the index page fine through my public IP, but I can't retrieve any images. I've tried Google Chrome, Internet Explorer, and wget, but they return a "no data received" error. I can view these images through the site's local IP, and other people can view the site fine.

Any ideas? Thanks in advance.

Edit: Here's my apache config (I edited out the server name, etc.):

<VirtualHost *:80>
  ServerName SITENAMEHERE
  ServerAdmin MYEMAILHERE
  DirectoryIndex index.php
  DocumentRoot /home/USER/public_html/SITENAMEHERE/public
  LogLevel warn
  ErrorLog /home/USER/public_html/SITENAMEHERE/log/error.log
  CustomLog /home/USER/public_html/SITENAMEHERE/log/access.log combined
</VirtualHost>
share|improve this question
    
Any hints from apache log files? –  Khaled Aug 25 '12 at 10:34
    
It reported a 200 OK code for the request. The same thing happens for loads of other file types. Apparently, it's everything except .PHP, HTM[L], and .CSS, but there could be other exceptions. I don't get it. –  Archimaredes Aug 25 '12 at 10:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.