Issue with Cloudflare, can not access page - cloudflare

everybody.
I got an "404 not found" when trying to access the link
http://www.abc.com/api.php/
But the same link without backward slash is OK:
http://www.abc.com/module/mfox/api.php
My server using Cloudflare. And I have disabled this service, but it still happen. I also try with htaccess, but it do not work. Could anyone tell me what's the wrong here, and how to fix this issue?
Thank you.

That would be on your server directly (we don't host your content). The fact that it happens with us off definitely means an issue on your server.

Related

Apache is Adding Javascript in HTML File

I got a strange situation where my Apache Server is adding a piece of Javascript code just before closing tag of the served HTML content.
I tried to find out but could not success what is going here on the server. I restarted the server and then it went away, but after sometime I'm facing same issue.
I'm sure my server is compromized and someone is doing this act. Kindly help me where to look to check how Apache can add such code on the fly on CentOS 7.
If you do not have set up anything like this, it's likely that your server got compromised.
As a first step, I suggest you check, if anything like this has been configured.
Beware though, if your server has been compromised, it's very likely that the attacker still maintains access to your server. If you can, nuke it, rotate credentials and look into hardening your servers.

How to use Cloudflare SSL with Hostinger

recently i got a domain for my brothers so they could use it on their minecraft server, but didnt know how to code or didnt have any money to use it, so I helped them.
I decided that i wanted to use cloudflare as my SSL provider, since they give a free shared cloudflare certificate, but im having issues with it, here is my problem:
When i go to https://, it displays:
https://axiatinc.stop-pings.me/377ff2a3.png
I have absolutely no idea why it does this, it is secure, but none of my site data shows, I have tried to go to like https://example.com/index.php or https://example.com/folder/image.jpg, but nothing works. Id really appreciate some help with this, as I want to get HTTPS up and running hopefully tonight.
I have it temporarily fixed by using flexible SSL instead of Full, i still want to use full, if someone could help me be able to use full and not get the error message that would be great!

Plesk is blocked on change the domain prefix

I have a Plesk 12.0.18 on Centos Server. All subscriptions works fine, but one subscription have a domain with this problem.
When i change the domain prefix to "www.mydomain.com" or to "mydomain.com", this still stuck to "Waiting...".
When this happens, the rest of the server still works fine, but will not let me make any changes to the rest of subscriptions.
I try to edit the apache vhosts, but this looks fine.
Please I need a help.
I think there is an issues with the plesk databases and due to that your process is getting stuck. I will suggest you please check your panel error logs file OR ask your system admin to check this.

How to solve prestashop infinite redirection loop under ssl?

Don't know, maybe someone had the same problem before..
I've got a correctly configured ssl certificate in my server.
If I activate prestashop ssl mode, then several pages generate an infinite redirection loop warning....
I really can't figure out why..
One thing I can say, is that in backoffice, clicking on the ssl acivation link, it does not activate it: it stays, silently, no rerrors, nothing.
So to activate ssl I had to manually change the relevant config variable on the DB.
This could maybe be a symptom of something wrong on the server?
Anyone had the same problem?
Thank you
Apart from upgrading to v1.6.0.11, the solution was to add SetEnv HTTPS On at the very top of .htaccess. That's because several prestashop functions rely on $_SERVER['HTTPS'] and/or $_SERVER['SSL'] vars to guess the urls. One of the most notable functions using them and itself used by many others is Tools::usingSecureMode(). Simply those vars weren't visible before adding SetEnv HTTPS On.
Anyway, this is not to be considered a universal solution, because for example in my local MAMP installation I didn't have the same issue: just worked. I only needed the tweak for the remote server.
Beside this, also note that in backoffice, unde url/seo prefs, I disabled the apache multiviews.
Hope it helps

When I change siteurl in wp_options, my local website STILL WORKS. Why?

I'm trying to move a site from Bitnami "localhost" on my computer to a live site online. It's proving very difficult, so I'm trying to understand how this all works.
A very simple question -- the answer to this might offer me some insight:
I've opened the "bitnami_wordpress" database on my computer phpMyAdmin.
I've gone into "wp_options" and changed the siteurl to something other than what it read originally.
It doesn't matter what I've changed it to -- my website on Bitnami localhost should no longer work, right?
Yet the website still works. Why??
Try changing home url in wp_options
If that still doesn't solve the problem, you can find how to migrate wordpress in
http://codex.wordpress.org/Moving_WordPress
I believe the answer to the original question is that the original URL has been cached in the browser. I just ran into the opposite issue: I was still getting a redirect from http://localhost:81/ to http://localhost/ after changing siteurl in SQL table wp_options. Clearing the cache in my browser fixed the issue.