Questions tagged as 'apache'

1
answer

How to modify the URL of www.meusite.com/index.php?secao=quemsomos to www.meusite.com/quemsomos?

My .htaccess file looks like this: RewriteEngine ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?secao=$1 I want to translate to url www.meusite.com/index.php?secao=quemsomos to www....
asked by 07.11.2017 / 11:51
0
answers

Apache log file

I've installed XAMPP and would like to know how I can manage the apache log file (my log file is 50MB and I'll have problems in the future.) Is it possible to delimit a size so that, after reaching, the "auto recycle" log file?     
asked by 23.04.2018 / 21:14
0
answers

Api returns the data correctly when requested by localhost but not by ip

Yesterday I did this question :    I made a REST api, using Laravel , for an application that   I am doing, to carry out the requisition tests I created a VM   where is the api.       Assign a fixed ip to this VM and disable the firewall t...
asked by 14.11.2017 / 16:44
1
answer

Htaccess Login and Password [duplicate]

I'm having a problem, I have a directory of different files of type csv, xls, pdf, docx ... I wanted the person.h that put in the browser the file link did not have access to it, only those that made access by the login page had access. How do...
asked by 14.07.2017 / 16:50
0
answers

Is it possible to use Websocket connections in Apache?

With the advent of Websockets in browsers, I was also interested in doing some implementations in some applications. Of course with the idea comes the initial doubts. One of the doubts that have arisen for me is about Apache. Traditionally...
asked by 29.06.2017 / 14:37
0
answers

How to configure mySQL and apache manually? [closed]

I used xamp but it always gave some port problems, so I downloaded and configured apache and PHP manually, but now I do not know how to configure the workbench and integrate it with apache     
asked by 21.08.2017 / 20:18
0
answers

php.ini file, 'reset settings' during apache start

I'm facing a flaw with UwAmp. Whenever I change settings in the PHP.INI file and restart UwAmp, the settings return to default. In Xampp or VampServer, the problem does not occur. The following message appears;    "This file has been modif...
asked by 16.08.2017 / 12:54
1
answer

Error 404 after configuring SSL in Apache

I have a VPS running CentOS 7 and an Apache server, and I have a site in it, working perfectly inside the / var / www / html / mysite folder. But this using HTTP. I then decided to generate an SSL to run the site on HTTPS. From then on, the site...
asked by 18.02.2017 / 17:03
0
answers

How to put online site through domain? [closed]

Hello everyone, I'm trying to put a website online through a domain I've already created, it already gave me FTP settings with a folder so I can upload the files I want. The problem is that when I try to access the files in the folder in which I...
asked by 20.04.2016 / 20:55
1
answer

MySQL - Foreign key in ON DELETE NO ACTION but executes ON DELETE CASCADE

I'm developing a system using Apache , Hibernate e MySQL . But I have a problem while deleting parent entries from a foreign key. The database should prevent the deletion, but it deletes the parent entry and all associated with it, t...
asked by 03.04.2016 / 00:23