Questions tagged as 'apache'

2
answers

Weird redirect

Even without .htaccess and without the apache rewriter module active if I call mydomain.com / page it will search first page.html if it does not find it it will go to page.php. How do I disable this "redirect" because it is giving trouble in...
asked by 04.03.2014 / 01:10
1
answer

Apache how to redirect port?

How do I redirect my default Apache web site that is on port 80 to a web service on port 8080? I use CentOS 7     
asked by 25.05.2017 / 16:33
1
answer

Is it possible to run a different PHP in a particular folder?

I have a problem: The server uses PHP 5.3, which is very old but can not be changed. I have a script that requires PHP 5.4 +, is the Ratchet websocket. Is it possible to install a separate PHP to be used only in the folder where this script i...
asked by 24.01.2017 / 17:53
1
answer

Enable php error page

I have already seen several attempts to enable error pages in apache / php but none worked here. I have .htaccess and I have the following lines in it: ErrorDocument 400 /index.php ErrorDocument 401 /401.php ErrorDocument 403 /403.php Er...
asked by 28.09.2015 / 16:00
1
answer

Is it dangerous to leave mod_mime_magic active in Apache?

I was once arguing with a more experienced programmer than myself (the user @Bacco ) about uploading files. I was commenting with it it did not make sense for someone to try uploading a file with jpg extension having in the content a...
asked by 18.10.2016 / 13:19
2
answers

How to run Wamp Server on a network?

I installed Wamp Server on the network, but it does not work. It turns red, move the mouse and it says "Server online". I have already modified the httpd.conf file to release the permission for all hosts and nothing. Follows: # #...
asked by 02.12.2015 / 17:06
1
answer

Cache control for a specific file

If we want to implement a cache control for a particular file type, using htaccess we can proceed as follows: <IfModule mod_expires.c> ExpiresActive on ExpiresDefault "access plus 1 month" ExpiresByType application/jav...
asked by 11.11.2014 / 16:56
1
answer

Place Laravel on Default Level / Directory [duplicate]

I have a Laravel application and I deploy it via git to my server. But the problem is that the server always throws the deploy into the public folder , and Laravel originally is meant to stay up . .htaccess or Laravel itsel...
asked by 26.10.2015 / 16:07
2
answers

Two apache installations on the same server

I have a windows server with Bitnami (Only with Apache running) and another apache installed manually. Since Bitnami Apache is for PostgreSQL database and Apache installed manual is for MySQL. It's working normally, but on different ports. Bi...
asked by 06.10.2015 / 15:16
1
answer

NGINX as reverse proxy and cache of an external shared server running apache

I'm trying to set up a Brazilian instance on Amazon to be a reverse proxy with cache and compression for a server (I accept panel suggestions, preferably free, that accept this setting) in the US. The goal is to use the maximum of Brazilian H...
asked by 22.02.2014 / 18:22