Questions tagged as 'apache'

1
answer

Merge 2 mod_rewrite conditions in .htaccess

About .htaccess and mod_rewrite not understanding anything at all! The situation is as follows, I have 2 projects in different domains: This first project uses the condition below that always directs the browser to the HTTPS protocol by...
asked by 29.10.2015 / 18:02
1
answer

How to configure Log4j to generate a file in the WEB-INF folder with different date?

I want to generate * .log or * .txt files with different dates (eg file-log-22-10-2015.log) inside the WEB-INF folder of my JavaWeb project. I created the log4j.proprieties file as follows : log4j.properties # Root logger option log4j.rootL...
asked by 27.08.2015 / 20:30
1
answer

Release subdirectory through .htaccess [duplicate]

How do I release a specific sub directory (and all of its files) via .htaccess? As I use "friendly url" and through .htaccess I block everything that is not convenient, I would like to know how to "free" access to a specific folder a...
asked by 22.05.2015 / 04:11
2
answers

Redirect or deny direct access to public folder

I'm using htaccess to access the css , js , images folders that are in /public directly: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^(css|js|images)/(.*)$ public/$1/$...
asked by 18.05.2015 / 04:45
1
answer

500 Internal server error in PHP files

Every time I run a PHP file on the server it returns (at the header) a 500 error. This only happens with PHP files ... Commands like echo and phpinfo() only with strings work (I tested with echo 'teste'; ). But if I go to...
asked by 07.03.2015 / 00:04
1
answer

Manual update of PHP Version [closed]

Developed in PHP compatible with the minimum version 5.3.7, and to my dismay, the version that is installed on the Apache server is 5.2.17. How can I manually upload the new PHP version via ftp to upgrade? I researched some things like:...
asked by 06.03.2015 / 12:48
1
answer

Difference between Multi and Single Thread

In terms of processes, what is the difference between multi-threaded and single-threaded pro? How will both forms work with a request?     
asked by 16.07.2015 / 20:15
1
answer

Phalcon PHP installation

Hello, I'm trying to install Phalcon PHP Framework in XAMPP under Windows as per the tutorial of that link: link , but following the steps of the tutorial, after I put the Phalcon dll in the PHP extensions folder, when restarting Apache, it...
asked by 01.07.2014 / 15:53
1
answer

Redirect .com.br domain to .com

I have two domains: the main one is the .com and the secondary is the .com.br I need to make it every time you go to www.domain.com, it redirects to www.domain.com, even when you have a subfolder, for example: www.domain.com/test redirect to...
asked by 13.01.2015 / 18:08
1
answer

Apache Permission in Windows 7

I installed Apache (version 2.2.25) on Windows 7 and changed the default folder from DocumentRoot to c:\tmp . I made the following change in the file httpd.conf : #DocumentRoot "C:/Program Files (x86)/Apache Software Foun...
asked by 11.04.2014 / 01:03