Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-24-2005, 04:06 PM   #1
LQ Newbie
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
Angry apache not displaying images

I'm runing Apache2 on a redhat linux box with Tomcat5. When I try to access my jsp pages I don't get the images displayed. I get red x boxes. Seems like apache can't find my files. It also doesn't find the css and other files that apache is suppose to serve.

Here is my httpd.conf file snippet:
DocumentRoot "/var/www/html"

<Directory "/var/www/html">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all                                                                                

<Directory /benefitserver>
    Options Indexes
    <IfDefine SSL>
        SSLOptions +StdEnvVars +ExportCertData +StrictRequire
        SSLVerifyClient require
        SSLVerifyDepth 1

NameVirtualHost *:80
<VirtualHost *:80>
    ServerName localhost
    DocumentRoot /var/www/html
    ErrorLog /var/www/yoursummit/logs/errorlog
    CustomLog /var/www/yoursummit/logs/access_log common
<VirtualHost *:80>
    DocumentRoot /var/www/html
    ErrorLog /var/www/html/logs/testbs_errorlog
    CustomLog /var/www/html/logs/testbs_access_log common
I have my files located under /var/www/html/benefitserver directory. I need to be able to access them securely under https. When I try to access the page https: // benefitserver/ index.jsp (no spaces in the url actually. just added so I could post on the forum) and also with just http ://, I get the red x's for my images and it doesn't find my css file. I have chmod 755 all the files under /var/www/html/benefitserver directory. I have also chown the files to be <username>:apache.

What else can I try? Why won't it display them. Please help!!! I'm frustrated and it's getting on my last nerve!! lol.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick way of displaying images Hydroksyde Linux - Software 0 10-02-2005 09:24 PM
displaying jpeg images Dave31836 Programming 2 01-25-2005 11:28 AM
Displaying images in CGI scripts dodger-newbie Programming 9 03-22-2004 02:28 PM
Simultaneously displaying Images with different depths yrraja Linux - General 0 04-25-2003 06:17 AM
Problem with Displaying 8/24bit XWD Images yrraja Programming 2 04-22-2003 06:33 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration