Questions tagged as 'apache'

0
answers

Refactor the code using JAX-RS

I'm starting in the programming world and have to refactor a routine using another library. The routine uses the apache lib to do Http requests org.apache.http.* , I have to refactor using Jax-RS. Here is the example of the routine I ha...
asked by 21.11.2018 / 15:38
0
answers

How do I check the initial request path with RewriteCond?

I have the following configuration in my httpd.conf : <VirtualHost *:80> ServerName localhost DocumentRoot "c:/opt/Apache24/htdocs" RewriteEngine on RewriteCond "c:/opt/Apache24/htdocs/application1/v1/$1" !-f Re...
asked by 06.11.2018 / 21:13
0
answers

Xamp [Apache] does not start

I'm trying to start apache with xampp, but I'm not having success. The error in Apache_Start.bat is as follows: httpd.exe: Syntax error on line 176 of D:/xampp/apache/conf/httpd.conf: Cannot load modules/mod_ssl.so into server: N\xe3o foi poss...
asked by 01.11.2018 / 17:39
1
answer

mod_rewrite does not work on Ubuntu 16.04

I have a VPS with Ubuntu 16.04 but I am not able to make the mod_rewrite work. When I get the command sudo a2enmod rewrite , I get the following response:    "Module rewrite already enabled" But when I run phpinfo() , t...
asked by 06.11.2018 / 01:40
0
answers

http-server (Docker template) doing "proxy" for React application

In a simple application made with React created with create-react-app , using Docker template of some link ( Apache , for example), it is common to use a rule in Rewrite with /* passing to /static/ forcing to go to index.h...
asked by 24.10.2018 / 15:51
1
answer

Access Forbidden when copying and pasting new home.php

I have a project and it's all in English on the main page being "home.php", I can usually access it in local using "localhost / CoLWithGit", however, I need to do a Portuguese version of this page as well I made a copy of home.php and renamed it...
asked by 30.10.2018 / 19:39
0
answers

NGINX - ERR_TOO_MANY_REDIRECTS when rewriting htaccess rules

I'm trying to convert some htaccess rules to NGINX and I'm getting ERR_TOO_MANY_REDIRECTS. The htaccess code is link Options +FollowSymLinks -MultiViews # Secuirty Control <FilesMatch "\.(htaccess|htpasswd|ini|log|sh|inc|bak|tpl)$">...
asked by 27.10.2018 / 22:19
0
answers

error with apache extension

I have a server with Apache / 2.4.29 installed on my machine, but the sites made in Laravel require an additional configuration of Apache to run in the right way because of its route scheme. I've already been able to set everything up normall...
asked by 23.10.2018 / 16:08
0
answers

CORS error when trying to authenticate an API in localhost

I am trying to access my API that is in localhost. However, when I try to access it, I run into the following error:   Failed to load link : The 'Access-Control-Allow-Origin' header contains multiple values' *, * ', but only one is allowed....
asked by 16.10.2018 / 00:58
2
answers

Wrong summer time

I'm having a problem with daylight savings time ... actually cell phones, street clocks, my pc also moved clockwise ...    Daylight saving time generally starts in October. But, to coincide with the election date, President Michel Temer signe...
asked by 22.10.2018 / 04:58