Questions tagged as 'apache'

0
answers

Error starting CWP CentoOS + Apache

I use CWP to manage my domains where I put my systems in PHP, it happens that today creating a subdomain the server generated an error, I think some bug, and I can no longer start Apache or CWP, the message in the CWP log is this:   8032 # 0:...
asked by 02.01.2018 / 20:17
1
answer

How to receive data from a Rest API using Apache Camel

And how do I get the data from a REST server passing a basic authorization in the header? I have tried in many ways and it does not work, and when I test in postman , it works normally. I have tried the simple way: from(URL_API_FB...
asked by 05.12.2017 / 12:57
1
answer

Session in php gets lost after page change

I am having serious problems need to deploy a script in php that I did on a centos server that I installed. Apparently everything was ok. At the time of logging in. It logs back to the login screen and does not generate errors. I gave a va...
asked by 30.01.2018 / 03:37
1
answer

Is it possible to access my apache server from the name of my machine?

I'm going to give an example of the Apache + PHP + MySQL server I have on my Ubuntu 16.04 machine, I know that if I put it in the address bar of my phone's browser I can access my sites from the / var / www folder / html , but could I access fr...
asked by 27.10.2017 / 21:04
1
answer

Mongo driver for php only works with mpm_prefork?

Looking for better performance for my application I've changed the MPM of apache from prefork to event , but when I restart apache with the new processing module o mongodb module does not work, when accessing the apache log fi...
asked by 12.11.2017 / 21:41
0
answers

Python with CGI and WEB

I made a simple python code that displays a version of the user's operating system on a web page and configured my web server running on linux to be compatible with CGI. My webserver runs on a Windows machine. import cgi, cgitb import...
asked by 01.11.2017 / 13:15
0
answers

Redirect with htaccess without changing URL

I have a system that runs at www.dominio1.com.br/sistema and I need the user typing www.dominio2.com.br/sistema to be directed to www.dominio1.com.br without the URL being changed. I made a test by placing an .htaccess...
asked by 07.10.2017 / 06:50
1
answer

Set up domain for Wordpress page structure

I have a Wordpress installation with several "sites" .. I will explain:    site-principal.com/ - > opens a blank page (index.php, with no redirection in options / reading)       site-principal.com/site-um - > Page Wordpress 'Site One',...
asked by 20.09.2017 / 20:03
2
answers

Angular 4 App in Apache

I would like an example of htaccess to use in my Apache. The scenario is as follows: I have an application in Angular 4 that needs to run on a separate back-end server. I build using the ng build command (for some internal problems I do no...
asked by 13.09.2017 / 21:39
1
answer

Uncaught Error: Call to undefined function mysql_query () [duplicate]

I'm doing my login system and giving the following error when signing in:    Fatal error: Uncaught Error: Call to undefined function mysql_query () thrown in D: \ xampp \ htdocs \ login.php on line 41 if (isset($_POST['entrar']) &&am...
asked by 03.09.2017 / 00:44