https issue

I setup ssl on my domain but, it's still showing not secure. If I change in the .htaccess The site doesn't load correctly. I tried to change in the header and got this error: The system failed to create the file “/home/domain/public_html/inc/header.inc.php.lock” (as EUID: 1005, EGID: 1007 1007) because of the following error: Permission denied



What could be wrong?

Quote · 8d ago

Have you added this code chunk to the top of your .htaccess file?

 

RewriteCond%{SERVER_PORT} 80

RewriteRule ^(.*)$ https://www.mysitename.com/$1 [R,L]

Quote · 8d ago

 

I tried to change in the header and got this error: The system failed to create the file “/home/domain/public_html/inc/header.inc.php.lock” (as EUID: 1005, EGID: 1007 1007) because of the following error: Permission denied



What could be wrong?


I am guessing you get that error when you try to save changes to inc/header.inc.php

If so, then it sounds like the folder permissions are wrong on the inc folder. When dolphin was installed, there was a step where you reverse permissions at the end of the install. My guess is you may have gone to far with the permissions. The inc folder permissions should be 755.

You do need to be able to edit inc/header.inc.php to make sure the site URL is https and not http or it will not work.

https://www.deanbassett.com
Quote · 8d ago

I changed the permissions to 755 on the inc folder and that worked. But, when changing the .htaccess file I get a internal server error. When going to the website in private mode sometimes it shows secure and not secure in regular mode.

Quote · 7d ago

 

I changed the permissions to 755 on the inc folder and that worked. But, when changing the .htaccess file I get a internal server error. When going to the website in private mode sometimes it shows secure and not secure in regular mode.

 most likely - when you changed the .htaccess files and tried to reupload it, it may not have uploaded as the correct user. This happens to me randomly sometimes. I end up having to go into my WHM and "fix permissions" for that account. that usually works for me. just remember - that if you do "fix permissions" - you have to chmod 777 flash/modules/global/app/ffmpeg.exe manually afterwards.

caredesign.net
Quote · 6d ago

I advocate doing the rewrite at the vhost level instead of the .htaccess level.  Many control panels allows you to easily add a rewrite to a domain.

Geeks, making the world a better place
Quote · 6h ago
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.