I can access my image file by using this URL: http://belltown.x10hosting.com/bbmap.org/icons/r1-20.png
I can access a test html script either using http://belltown.x10hosting.com/bbmap.org/junk.html or http://bbmap.org/junk.html (bbmap.org is an add-on domain).
My test script can access the image file if I code it as:
However, if I try using this code:
then I get a file not found error for my png file. The code works correctly if I run the html script as http://belltown.x10hosting.com/bbmap.org/junk.html but NOT if I specify the name of my add-on domain, http://bbmap.org/junk.html
Why can I not access the image file from my html script unless I fully qualify the file name?
Image hotlink protection is disabled.
Here is the code for my .htaccess file in my public_html directory:
I can access a test html script either using http://belltown.x10hosting.com/bbmap.org/junk.html or http://bbmap.org/junk.html (bbmap.org is an add-on domain).
My test script can access the image file if I code it as:
Code:
<img src="http://belltown.x10hosting.com/bbmap.org/[URL="http://x10hosting.com/forums/view-source:http://bbmap.org/icons/r1-20.png"]icons/r1-20.png[/URL]"></img>
However, if I try using this code:
Code:
<img src="[URL="http://x10hosting.com/forums/view-source:http://bbmap.org/icons/r1-20.png"]icons/r1-20.png[/URL]"></img>
then I get a file not found error for my png file. The code works correctly if I run the html script as http://belltown.x10hosting.com/bbmap.org/junk.html but NOT if I specify the name of my add-on domain, http://bbmap.org/junk.html
Why can I not access the image file from my html script unless I fully qualify the file name?
Image hotlink protection is disabled.
Here is the code for my .htaccess file in my public_html directory:
Code:
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName belltown.x10hosting.com
AuthUserFile /home/belltown/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/belltown/public_html/_vti_pvt/service.grp
AddType application/x-httpd-php5 .html .htm