PDA

View Full Version : .htacces prolem with SSL, need really help!


edonia
5-25-03, 03:51 AM
Hello,

I have 2 directoriers, one i call "a" , the other is "b", both on the same powweb account.

In "a" i do have a PHP-CMS solution,
in "b" i do have a PHP-e-commerce Solution

Now, my Files in "b" should only accessible from the PHP-Solution in "a"

The difficult part is, that my PHP-CMS solution in "a" will opend by SSL (https://saturn.powweb.com:7948/ufritz/html/).
The real domain from this site is www.edonia.de

Now, if i use .htaccess with the "REFERER" option, it will work only with my real domain (edonia.de):

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://www.edonia.de [NC]
RewriteCond %{HTTP_REFERER} !^http://edonia.de [NC]
RewriteRule [^/]+.(html|php)$ - [F]

But It will not work with my SSL domain!

Do anybody out there know, how to set up a "REFERER" with the powweb SSL Connection?
(https://saturn.powweb.com:7948/ufritz/html/)

Thanks, for reading/helping

Uwe

joe_postscript
6-20-03, 04:41 AM
See if this link helps...

http://forum.powweb.com/showthread.php?s=&threadid=17319&highlight=ssl