Questions tagged as 'apache'

1
answer

Use files from another virtual host

   Summary I need that from a virtual host, you can access the php files of another virtual host.    Environment CentOS 7 Plesk Onyx PHP 7.2    Scenario I have the following scenario (real data is replaced): api.domini...
asked by 27.11.2018 / 13:21
1
answer

Error Unsupported major.minor version 52.0 servlet and tomcat

Friends I get this error when uploading my project to the apache tomcat I use apache tomcat 7.0.67 IDE: Netbeans 8.2 with java plataform jdk 1.8 run java EE 6 Web  your help please.     
asked by 21.11.2018 / 22:53
0
answers

Apache does not work in Xampp

Hello it turns out that where I'm doing practices you want to make inventories of the equipment that the company has and they told me that before they used the OCS Inventory using a web interface and a client or agent to send the data to the ser...
asked by 29.10.2018 / 16:24
1
answer

How to Compile and Generate a .WAR?

I have a project carried out in MAVEN with Eclipse which consists of connecting to a database with APACHE and showing some data ... how and where do I configure which database to connect to? What I do is: 1) Run As 2) Tomcat V7 Server at local...
asked by 22.06.2016 / 20:53
1
answer

Obtain database credentials from a txt

I'm doing a development in PHP that requires a database connection, currently the credentials are written in the code. $server = '255.255.255.255'; $user = 'user'; $pass = '<kjdhsadflkjhseuhdfsejhsuhksad'; $db = 'database'; $conn...
asked by 22.10.2018 / 18:53
1
answer

Priority to files and not to folders .htaccess

Hide the PHP extensions with .htaccess, I have for example the following file: "avisos.php" that when I access the browser I type: dominio.com/avisos, the problem is that I have a folder named with the same name: "warnings" and this gives me an...
asked by 30.07.2018 / 23:46
0
answers

How can I deny access to public folder files on the Apache server?

Try putting a .htaccess in the root of the project this way: Options -Indexes IndexIgnore * <FilesMatch "\.(htaccess|htpasswd|ini|jpg|log|bak|txt)$"> Order Allow,Deny Deny from all Allow from 192.168.0.9 </FilesMatch> But the...
asked by 15.06.2018 / 00:11
0
answers

problem connecting via pdo

I'm using pdo to connect to a mysql database, before it worked perfect, but now something has broken. The error messages that appear are: Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\taller-poo-a\app\database\D...
asked by 03.04.2018 / 22:48
1
answer

Ubuntu server error when inserting long string in mysql

Hi, I am using a new installation of ubuntu server 16.04.3 LTS, I have problems when inserting a string in mysql, I think it needs configuration and I have it by default. The fact is that when I send a string for $ _POST of more than 164 char...
asked by 29.01.2018 / 19:32
0
answers

The user portal is not displayed in SquirrelMail. It could be an apache2 problem?

I have installed Postfix, Courier and Squirrelmail. When you access the squirrelmail login portal, it works correctly, but when you login, the corresponding php is not reproduced. I attach images:     
asked by 04.02.2018 / 23:34