Questions tagged as 'apache2'

1
answer

What is the difference between service apache reload and restart?

What's the difference between them and which cases to use? service apache2 restart and service apache2 reload     
asked by 17.11.2017 / 15:11
0
answers

Local environment does not process some requests [closed]

I'm working with 2 sites in Laravel, where requests to the server import and export large databases in Excel occur. When I make changes to these databases, I can not test them on my local machine, I have to go to the amazon server to see if m...
asked by 23.10.2018 / 18:50
2
answers

How to define a variable in the configuration of a Virtual Host, to avoid repetition?

I always get annoyed when I see that my virtualhost ends up being configured like this: <VirtualHost :80> ServerName meusite.local ServerAlias www.meusite.local DocumentRoot /var/www/meusite/public ErrorLog /var/www/m...
asked by 10.08.2018 / 22:45
1
answer

Why does not the web server find my route?

I uploaded a system in Laravel called android_api to the hostgator server, and I configured it in the public file. To the main page it works, where it appears Laravel 5, but when I put the route that I created, it shows page not found. I...
asked by 17.10.2017 / 23:36
1
answer

Apache2 does not interpret PHP

I usually installed PHP and APACHE2 but it does not interpret the PHP code, follow test code: <?php echo "teste"; It returns me an "html" page with this typed, and comes from a "print" written test Files not found in the / var / www...
asked by 05.06.2018 / 17:47
0
answers

Apache does not recognize virtual directory

There is a domain that we have made the entries in our DNS pointing to our Linux server where we have Apache / MySql / PHP / Wordpress. I created the Wordpress folder in / var / www with the name my-site.com . I created the database and...
asked by 09.12.2017 / 23:40
0
answers

Apache access from one .html file to another .html in another directory

I'm using Apache to remotely access an html page, I've replaced the index.html file that is in the /var/www/html folder with a file that asks for authentication and redirects the page to a another file .html. window.location.replace(...
asked by 16.11.2017 / 17:53
2
answers

I can not capture ROTA without using index in URL

In short, it only works if I put index.php in the URL. It looks like it's in .htaccess, but I do not know where. I would like to know which setting is incorrect or what I could do to find out my error. Data: Debian (9) Apache / 2.4.25 (Debian...
asked by 28.10.2017 / 18:17
1
answer

Error in application deploy Flask

I'm trying to deploy a flask application the same way I do when I'm using python2.7, but in this case I'm using python3 and an error is returned in wsgi. Below is the first line of the apache2 traceback. [Thu Dec 06 23:01:04.823744 2018] [wsgi...
asked by 07.12.2018 / 00:17
1
answer

Apache2 does not run php files [duplicate]

My php files do not run in the browser when accessing localhost (var / www / html / index.php). The code is displayed as if it were a plain text file. System Settings: Apache2 Ubuntu 18.04 LRS Php 7.2.0 Is there a problem with the instal...
asked by 24.11.2018 / 16:22