Jump to content

94 files PHP form using SSL certificate


yanith

Recommended Posts

Hello guys another difficult form case (for me)  :(

 

I have this super long form that pulls different files depending on what you select. The form works perfectly fine right now. the problem is that now the client need to run the form with a SSL certificate due to gov regulations. we are hosting all the files in the same folder for the secure and unsecure site and the certificate works fine. however when I run the form with the https:// address google chrome tells me that parts of the form are unsecured.

 

I was reading something about the images have to be on a relative path using img scr="../images/path/file.ext"  instead of just  img scr="images/path/file.ext". I made that change and it didnt solve the problem.

 

I changed all the links to " ../ " and didn't solve the problem.

 

I have added rules to the .htaccess file

 

RewriteCond %{SERVER_PORT} !^443$

RewriteRule ^contact https://www.example.net/new-service.php [R=301,L]

 

RewriteEngine On

RewriteCond %{SERVER_PORT} 80

RewriteCond %{REQUEST_URI} somefolder

RewriteRule ^(.*)$ https://www.example.net/inc/$1 [R,L]

 

And even changed all the links in the form to absolute paths and nothing works.

 

does anyone know how to force the form to work on SSL or troubleshoot SSL certificate errors to point me in the right direction

 

thanks guys i appreciate your help and advice

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/253100-94-files-php-form-using-ssl-certificate/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.