Welcome to WebmasterWorld Guest from 126.96.36.199
The server logs report:
"GET /images/photo.jpg HTTP/1.1" 403 219 "https://www.mydomain.com"
"GET /css/stylesheet.css HTTP/1.1" 403 219 "https://www.mydomain.com"
But, everything looks PERFECT using the [mydomain.com...] (and gives a 200 code in server log)
I've seen others with a similar problem, but they are using specific shopping carts. For the moment, this is just an ordinary page with a couple images with an SSL. (Eventually it will be an e-commerce site).
(This is a GoDaddy Virtual Dedicated server running Apache 2.2 & Fedora Core 6 + mod_ssl 2.2. I have FULL access to all files and directories on this server.)
I'm gonna bet this is probably just a simple configuration file setting, but I'm kinda lost where to go from here. I think I understand that the request must be an HTTPS request and not an HTTP request, and the log files report an HTTP request. I've changed the URL in the web page to directly call the link as
(ex: [mydomain.com...] but it doesn't fix it and the server logs still show 403 errors.
Somehow I need to change the HTTP request to an HTTPS request, right? If so, How? Maybe it's a permission setting? It's something stupid and simple, I just know it!
Thanks in advance!
~Mike (SSL newbie)
Are you suggesting having something like this:
Could this work?
I've already got the domain and certificate set up, but I'm sure I could change it. I'm assuming it would have to be re-issued.
Thanks for the input.
Within my lengthy and elaborate .htaccess file to keep my new server protected from all the infidels and hoodlums on the Internet who have way too much time on their hands, I created a section to prevent hotlinking images (and .css files -why not?).
In oversight, I defined the RewriteCond as from HTTP and not HTTPS.
(That's what I get for being new to SSL's, huh?)
So, here's a big Homer Simpson D'oh! going out from me to everyone who pondered my self-inflicted problem (see: 'typo').
I hope at least someone will be able to learn from my mistake someday (I sure did)!
Thanks for such a GREAT portal! Keep up the good work everyone!