Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.