Mobile app version of vmapp.org
Login or Join
Vandalay111

: 403 Forbidden on Images on my subdomains I am pulling my hair out after multiple back and forths with 1and1 support both via email and telephone. I've setup multiple subdomains via the 1and1

@Vandalay111

Posted in: #1and1 #403Forbidden #Images

I am pulling my hair out after multiple back and forths with 1and1 support both via email and telephone.

I've setup multiple subdomains via the 1and1 control panel and that looks to work fine. The one in the screenshot below is
x3.keefermadness.com

Everything loads properly except images. Inspecting them, they're giving a 403 Forbidden. I've tried changing the permissions on individual files and the directories in that structure to no avail.

1and1 keeps blaming it on my image references, but they work fine locally via MAMP with no changes to anything.

Any ideas? 1and1 has been completely worthless, and I'm very close to just moving to another web host.

I've tried other web content, including a clean wordpress install. No images ever load. Everything else - html, JS, CSS, loads fine.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay111

2 Comments

Sorted by latest first Latest Oldest Best

 

@Gail5422790

We removed the last line on the .htaccess file

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?zzz.com [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?zzz.co.uk [NC]
RewriteRule .(gif|jpe?g|js|css|png)$ - [F,NC,L]


which was returning the forbidden action for images and CSS

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?zzz.com [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?zzz.co.uk [NC]

httpd.apache.org/docs/2.2/rewrite/flags.html#flag_f

10% popularity Vote Up Vote Down


 

@Ravi8258870

I just looked at your page source, and (example) image: x3.keefermadness.com/lib/img/home/home-about.jpg loads perfectly fine by visiting that URL. Do you have a setting enabled for "disallow hotlinking" of images somewhere? It is possible that that could be causing the problem.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme