On my index.html
page I have <img src="static_content/asf_logo.png">
. I put the image into Apache24/htdocs/static_content
.
I configured httpd.conf
to have an acess to localhost/basic-application-web
.
LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkMount /basic-application-web/* worker1
I can access it fine however it does not display the image.
http://localhost/basic-application-web/static_content/asf_logo.png
Return 404. How to provide image to the page?
I was trying to do like this
<VirtualHost *:80>
DocumentRoot htdocs/
<Directory htdocs>
Options +Indexes
AllowOverride None
Allow from all
</Directory>
JkMount /basic-application-web/* worker1
</VirtualHost>
But it changed nothing