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.