Questions tagged as 'apache'

1
answer

What is the difference between SCRIPT_FILENAME and REQUEST_FILENAME?

I'm studying friendly URLs, and in many instances I came across these two forms of writing: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d and RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d...
asked by 23.11.2016 / 22:39
1
answer

How to automate a deploy in Apache?

I have some Django-based systems that often need to be deployed on different servers. This involves, among other things, installing all dependencies, downloading project files, placing them in a standardized folder, etc., all of which can be don...
asked by 12.11.2014 / 21:34
2
answers

Interpret and direct with URL that after domain contains a hash

I am creating a rule to interpret addresses that after domain begin with # followed by numbers or followed by letters whose rule should only be read if there is no file or directory that matches the path indicated: # Rewrite the url <...
asked by 13.03.2014 / 12:37
2
answers

How to force cache cleaning in my visitors' browsers

I usually update my site style sheet (CSS) a lot. What happens is that my visitors see no differences. Is there any script or something that forces cleaning? Example: On next access the cache will be cleared. Some cookie that makes the cache las...
asked by 18.06.2014 / 06:00
2
answers

URL in netbeans does not work

I'm trying to run a project in php on netbeans and it runs the following url: http://localhost/portfolio/index.php Only my project does not open. It only opens in the following url: http://localhost:8080/portfolio/index.php How do I op...
asked by 13.11.2015 / 12:50
1
answer

Apache Maven Scopes Usage Scenarios

The question is about the different values that can be assigned to the <scope> property of Apache Maven dependencies, and what criteria should I set for using each of them. Apache Maven has the following scopes: compile , impor...
asked by 29.06.2014 / 06:38
1
answer

Apache logs: checking for a slowloris attack [closed]

I'm doing simulation of a slowloris attack on a Debian server running Apache. The attacking machines are Debian as well. In order to make sure that the slowloris attack was effective, I would like to access the logs of Apache and ver...
asked by 16.03.2017 / 15:34
2
answers

Error: "PHP Startup: sqlsrv: Unable to initialize module"

I'm trying to access SQL Server through XAMPP on Windows 7 64 bit but I'm not getting it, I've already followed the tutorials step by step but at the time of starting Apache it gives the error in the line below: Line that gives the error ext...
asked by 31.10.2014 / 12:13
1
answer

Change lines of code inside files with Apache Ant

I am studying Apache Ant to try to change some lines of code inside files, but so far I have not found anything about it in the official documentation, so the maximum I can do is rename files like this example <move todir="my/src/dir" inclu...
asked by 01.08.2014 / 14:58
1
answer

Micro DDoS Mitigation and Sudden High Access Number in Web Applications with Limited Resources

It's vast documentation of how to mitigate (proactively reduce impact as it occurs) from denial-of-service attacks on web applications. People typically quote services like Cloudflare or as per their application on servers like Amazon EC2 and do...
asked by 18.02.2014 / 01:54