Questions tagged as 'apache'

1
answer

Mirroring Apache Tomcat - Work

Explanation: Currently when we update our client's project it is "out of breath" during this update, the idea is to be able to update the project without stopping the client, I saw something related to tomcat WORK but nothing very explanatory, s...
asked by 08.05.2018 / 15:31
1
answer

PHP page returning HTTP / 1.1 200 OK [closed]

After SQL query and data return using JSON, using the Firefox browser the following is written on the screen: 0 HTTP/1.1 200 OK Date: Sun, 12 Jun 2016 22:52:42 GMT Server: Apache X-Powered-By: PHP/5.3.28 Keep-Alive: timeout=5 Connection: Ke...
asked by 13.06.2016 / 01:13
3
answers

How to use Rewrite to include sub-directory and slug?

Editing: Refined the information based on the answers and doubts of the collaborators. Internal urls in menus: a href="/ courses / math /? slug = algebra-linear"> Math Algebra a href="/ courses / science /? slug = molecular-structure"> St...
asked by 13.02.2018 / 01:37
1
answer

.htaccess Internal Server Error

I want to make my URLs friendlier and I'm using .htaccess for this. The problem is that I am returning an Internal Server Error, and I could not identify where my Rule error is. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d Re...
asked by 14.02.2018 / 14:03
1
answer

REQUEST_URI or REDIRECT_QUERY_STRING?

Well, I'm doing a friendly url class and in the file CONFIG.PHP I gave a define in the following define('UA',explode('/',$_SERVER['REDIRECT_QUERY_STRING']??null)); But when I type the existing file, for example% w / the product fil...
asked by 30.01.2018 / 18:25
1
answer

Problems with mod_rewrite in Apache

I've enabled mod_rewrite in local Apache, but it does not seem to be working. I'm using Linux Deepin 15.5 and the process I did was: sudo a2enmod rewrite The answer I had:    Enabling module rewrite. I restarted Apache: sudo system...
asked by 15.01.2018 / 14:57
1
answer

Can you ignore a page in the apache log?

I'm developing a page which will permanently query via Ajax, it happens that the Apache Access Log will fill up very quickly and this brings me a server space problem, I was wondering how to handle this, one solution would be to ignore only the...
asked by 11.01.2018 / 12:41
1
answer

URL redirection and PORT in .htaccess

Next, I have a URL: link What I wanted to do is, when someone logs in with this url, apache redirect to the following address: link I already tried several things including looked at other issues here from the community, but I always find...
asked by 05.12.2017 / 17:12
1
answer

Google Chrome Redirecting to HTTPS on localhost or virtual host

Good morning, everyone. Recently, I do not know if it was some google update, their browser started to make a strange redirect. I have apache server and when I enter a url configured in localhost, even if it is virtual such as www.equipe.c...
asked by 18.12.2017 / 12:20
1
answer

Python only replaces PHP or replaces PHP and apache?

The first language I learned was PHP, unfortunately. PHP runs along with apache, but I wanted to use python instead, but the tutorials I found about python for the web make it look like it would replace apache, is that right? Do I have to config...
asked by 05.10.2017 / 14:17