Jump to content
stig_cousine

Maintenance mode won't work

Recommended Posts

Hello everybody,

sorry for posting, but cant solve this few weeks. Maintenance mode won't let me see the shop after add my ip.

Yes i know my IP exactly, if i click on "add my ip" it shows ::1 on localhost and in my server it shows server IP which is not my network ip. So i had completely lost, i have enabled geoip everything is set as it should be but nothing, cleared coockies and everything, trying reinstall, hosting through the xamp, wamp. Results were the same.

Prestashop version 1.7.6.1

Please help with this.

 

Thank you

 

Untitled.png

Edited by stig_cousine
bad image (see edit history)

Share this post


Link to post
Share on other sites

after deep research i have found the problem, the problem was server settings. 

exactly on /usr/local/apache/conf.d/rpaf.conf

<IfModule !mod_rpaf.c>
LoadModule rpaf_module modules/mod_rpaf.so
</IfModule>
RPAF_Enable On
RPAF_ProxyIPs 127.0.0.1 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 xxx.xxx.xx.xxx  <-- (here was faulty server IP address, after changing to correct server address, restart, and everything was fixed)
RPAF_SetHostName On
RPAF_SetHTTPS On
RPAF_SetPort On
RPAF_ForbidIfNotProxy Off
RPAF_Header X-Forwarded-For

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More