my host replied
I don't understand why any of my webpages should have an htaccess, is it a matter of opinion? I removed the htaccess file entirely after getting that reply and the page then seemed to resolve at lightning speed!Good morning.
The failure you are seeing is being caused because you appear to have configured a secured login within an .htaccess file in the /public_html/p/pimages/ folder but have not specified any authorised username/password combination for this - The result is that the server attempts to secure access to images within the folder but cannot do so as there is no legitimate user which is allowed access and so results in an error, causing content within the folder to not display.
On the assumption that this folder should not be secured (as with it secured a visitor would need to enter a username/password when visiting pages on your website which contain images) I have simply removed the partially-setup protection on the folder, and your images are now displaying correctly.
Do other people like having .htaccess?? if so, why?
I looked at another htaccess file on my site, it reads
Code: Select all
<FILES "*.html"> ForceType 'text/html; charset=UTF-8' </FILES> DirectoryIndex index.php AuthUserFile /home/p/public_html//.htpasswd AuthGroupFile /home/p/public_html//.htgroup AuthName "Protected Area" AuthType Basic <FILES .htpasswd> deny from all </FILES> <FILES .htgroup> deny from all </FILES>
should you have them in more of your folders for security? I am interested in other web owners' views on this, cheers!