LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-24-2005, 03:06 PM   #1
tlgates
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:
Code:
DocumentRoot "/var/www/html"

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

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

NameVirtualHost *:80
#
<VirtualHost *:80>
    ServerName localhost
    ServerAlias test.yoursummit.com
    DocumentRoot /var/www/html
    ErrorLog /var/www/yoursummit/logs/errorlog
    CustomLog /var/www/yoursummit/logs/access_log common
</VirtualHost>
 
<VirtualHost *:80>
    ServerName test.benefitserver.com
    DocumentRoot /var/www/html
    ErrorLog /var/www/html/logs/testbs_errorlog
    CustomLog /var/www/html/logs/testbs_access_log common
</VirtualHost>
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: //test.benefitserver.com/ 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.
 
  


Reply


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 08:24 PM
displaying jpeg images Dave31836 Programming 2 01-25-2005 10:28 AM
Displaying images in CGI scripts dodger-newbie Programming 9 03-22-2004 01:28 PM
Simultaneously displaying Images with different depths yrraja Linux - General 0 04-25-2003 05:17 AM
Problem with Displaying 8/24bit XWD Images yrraja Programming 2 04-22-2003 05:33 AM


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

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