Questions tagged as 'apache2'

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

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

How do I leave Cache-Control public on my site?

Hello. my htaccess looks like this: # BEGIN GZIP <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE "application/atom+xml" \ "application/javascript" \ "application/json" \ "application/ld+json" \ "application/manifest+json" \ "a...
asked by 16.08.2018 / 18:29
0
answers

VirtualHost AWS Ubuntu

Hello great linux ninjas. I'm working on AWS ec2 ubuntu, and I need to create a subdomain. I have seen some tutorials but none worked. I created a file in:    / etc / apache2 / sites-available / called admin.conf. In the file I put:...
asked by 31.07.2018 / 17:01
0
answers

How to access Virtual Host from another pc on the same network

I want to access my local site that is # PC1 by phone or # PC2, but I can only access it from the computer it is on, and if I try to get in from another computer it only works if I put the IP my machine instead of the Virtual Host on what the si...
asked by 08.07.2018 / 07:33
0
answers

Local Sites nop Apache2 and linux MInt

Some time ago I used Debian-derived programming. Today I installed Mint 18.3 properly updated and installed MySQL, Apache 2, PHP and phpMyAdmin as I always have, but I can only access it by IP, by 'localhost' or by 127.0.0.1. If I type an addres...
asked by 17.05.2018 / 00:48
1
answer

Error loading Codeiginiter library database

I have the following error in codeginiter:    A PHP Error was encountered Severity: Error       Message: Call to undefined function mysqli_init ()       Filename: mysqli / mysqli_driver.php       Line Number: 135       Backtrace: I've...
asked by 20.02.2018 / 17:23
2
answers

How to configure apache to ignore the directory in the url?

I have a directory inside my root folder called "mydir" where there are several files, currently I access these files like this: link My question is how do I configure .htaccess so I can access (show the user) these files like this:...
asked by 25.02.2018 / 21:23
0
answers

Error creating virtual host in Apache 2

How much do I try to create a virtual host in apache I can not access it I have already followed the following procedure: Go to C:\Windows\System32\drivers\etc\hosts and put 127.1.0.1 meusite.dev Go to C:\Apache\conf...
asked by 22.02.2018 / 13:50
1
answer

block access by the server's IP number so that access is made only through VirtualHosts domains

I am using virtual hosts in apache 2.4, when accessing the web server by the IP of the server, it is called the first virtual host of the list, how to block access by the IP number of the server so that access is made only by the VirtualHosts do...
asked by 31.01.2018 / 12:33