Member
Member
RB26   2017-10-06, 10:26
#1

bonjour
The installation routine did not detect a functional mod_rewrite module.
However, the module is well installed and functional on the server, checked with the php apache_get_modules () function.
By the way, I use mode_rewrite that works correctly.
Note that I modified the htaccess of the site root to force the https:
[code]
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^(monsite|www.monsite).fr [NC]
RewriteCond %{HTTPS} off

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*/?$ https://%{HTTP_HOST}/index.php [L,QSA]
[/code]>
would anyone have any idea about this problem?
merci
RB

Administrator
Administrator
acrylian   2017-10-06, 13:55
#2

Your htaccess file is not what Zenphoto uses at all. That should look like this. You find the template within /zp-core.

There is also an option to enable rewritten urls. If that's all not it,
I fear I cannot really help with this as I have virtual no knowledge about server configuration itself. Maybe something is not installed as it should be.

I personally never encountered this on various standard shared hosts.

Member
Member
RB26   2017-10-06, 18:01
#3

thank you for the answer, she pushed me a little

with apache documentation i ended up solving the problem
now it works

for information, I modified the htacces as:
[code]
RewriteEngine On
RewriteBase /

Redirection https NC= no case


RewriteCond %{HTTP_HOST} ^(monsite|www.monsite).fr [NC]
RewriteCond %{HTTPS} off
RewriteRule ^.*/?$ https://%{HTTP_HOST}/ [L]

Si c'est un dossier ou fichier qui existe on le renvoie sans modification


RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d

RewriteRule ^.*$ - [L]

sinon on le renvoie sur index.php avec toute la chaine de la requete


RewriteRule ^.*/?$ index.php [L,QSA]

[/code]

Administrator
Administrator
acrylian   2017-10-06, 18:04
#4

Great you managed it. We'll planning to go https sometime soon as well so maybe we run into the same issue so we keep in mind. htaccess can really be a beast.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.