Questions tagged as 'apache'

3
answers

How can I simplify URLs for a website?

To access a particular area of the site, I have to indicate one to three parameters in the URL: Normal URL: # aceder a um módulo http://www.meusite.com/index.php?mod=john # aceder a um sub-módulo: http://www.meusite.com/index.php?mod=joh...
asked by 28.12.2013 / 10:37
1
answer

What are the advantages and disadvantages between Apache and nginx?

I see a lot of people recommending nginx on Apache [HTTP Server], and I can well understand why the first event-driven it brings scalability advantages (ie low memory consumption under load heavy) over the process-based approach of the secon...
asked by 10.07.2014 / 18:01
1
answer

You can use if-modified-since with "304 not modified" without PHP

Based on this solution used in this answer on SO-en I created a .htaccess and PHP script .htaccess: RewriteEngine On RewriteCond %{HTTP:if-modified-since} . RewriteCond %{HTTP:if-none-match} . RewriteRule . not_modified.php [L] not_mo...
asked by 16.12.2014 / 17:49
3
answers

Apache does not start the service on windows 10

I'm using XAMPP and since I moved to windows 10 it comes with that, before it did not activate apache, then I looked for some tutorials on the internet and found this . Solved one of the problems, because after doing the steps in this video...
asked by 13.08.2015 / 02:13
6
answers

How to make a stopwatch continue counting after closing the page?

I need to create a timer that is started through a play , but I wanted a solution, other than just SESSION , to let even if the client closes the window or drops his internet, that is, it is not dependent on cache or front ....
asked by 08.05.2015 / 20:30
2
answers

How to serve a multi-language site in Apache?

I'm developing a website that needs to be available in 3 languages (static content only, to be served by Apache). I would like to make use of the language detection features so that the user already fell into a version compatible with the langua...
asked by 02.06.2016 / 18:34
1
answer

Demonstrating a slowloris attack on apache server using Python

I have the network dump (file in PCAP format captured with tcpdump) from a "conversation" between the attacked server (Apache web server: 192.168.1.2) and the malicious clients: Theattackwasalaboratorysimulationofdenialofservicewithslowloris.Ik...
asked by 08.05.2017 / 13:55
3
answers

Set custom 403 error page

I have the following excerpt in my file .htaccess : <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?route=$1 [L] <...
asked by 17.01.2014 / 07:11
6
answers

I installed XAMPP but I can not start apache, Error: Apache shutdown unexpectedly

I installed XAMPP on Windows and I am not able to start apache, the error I see is: 18:32:57 [Apache] Error: Apache shutdown unexpectedly. 18:32:57 [Apache] This may be due to a blocked port, missing dependencies, 18:32:57 [Apache...
asked by 15.04.2014 / 23:43
1
answer

Are all HTTP methods / verbs accepted by APACHE and NGINX?

In a recent lecture, one of the speakers commented that the only methods that the APACHE and the NGINX accept / support are the methods / verbs GET and POST . The speaker further clarifies that when other methods such as PUT...
asked by 04.07.2017 / 20:41