Most voted "apache" questions
Apache HTTP Server, commonly referred to as Apache, is an open-source HTTP server. Use this tag for software development issues that specifically involve Apache HTTP Server. Do not post Apache HTTP Server configuration and support issues, these are not within the scope of the site.
Learn more…631 questions
Sort by count of
-
0
votes0
answers103
viewsProblems with ajax on the server
I have an application in ZF2 on Ubuntu server. One of the controllers is triggered from a request ajax. Locally, the application works normally. However, when going up to the server I started having…
-
0
votes0
answers448
viewsConnection refused Lockable
When I send my form, after processing the data in the save method of the Laravel the following error happens: QueryException in Connection.php line 769: SQLSTATE[HY000] [2002] Connection refused…
-
0
votes1
answer62
viewsDoubt in . htacess
Guys, I do a internship at a web development company and tals and a little while ago we had a problem in redirecting the page. In the company we used for this project Php MVC (I never got to delve…
-
0
votes1
answer111
views -
0
votes0
answers631
viewsError 404 - Not Found
Good afternoon, I am doing a project where I have installed php7, mysql, apache2 in a virtualbox with ubuntu16.04. I’m working locally and I’ve installed the 5.3 Laravel. I have an api already made…
-
0
votes1
answer239
views.Htaccess redirects even without anything configured
Guys, I recently asked you a question right here at Stack (Doubt in . htacess) about a little htaccess to solve a problem I’m having in the company. After a good study and begin to understand +/-…
-
0
votes1
answer1817
viewsInstall certificate .CER.PEM Linux Centos7
I need to install a certificate for a webservice in Apache (Centos7). The files you sent us are these: xxx.cer.pem xxx.pfx Can anyone tell me how I install these certificates ? Thank you!…
-
0
votes0
answers379
viewsIs there any way to make apache case insensitive on linux?
I made the entire application using Windows,e é relatively grande, e em muitas partes do código esqueci das regras de case sensitive, como o windows ignora isso não pensei em mudar nada, except that…
-
0
votes0
answers92
viewsSSL Certificate - How to set up on the Server
Good afternoon I am trying to activate the security certificate on my website. I already put the files: I’ve done all the processes to generate the log files this is all ok. I put the records inside…
-
0
votes3
answers1270
viewsHow do I not display the directory list?
Hello, so my question is the following, I have a folder called admin and another call general, which is inside the admin. Inside the admin folder I have a file called general.php so far ok, the…
-
0
votes0
answers250
viewsChanging the default apache port does not resolve on Windows 10?
I did the normal installation of xampp, after running xampp-control I’m having the errors: 10:20:09 [mysql] Error: MySQL shutdown unexpectedly. 10:20:09 [mysql] This may be due to a blocked port,…
-
0
votes0
answers648
viewsRedirecting http site to https
I’m trying to publish a website that’s on an internal network host. The goal is that when we access from the local network http://ipinterno, the site opens normally. I also need to publish this site…
-
0
votes0
answers95
viewsError on Apache startup
How to solve this problem? 8:14:33 AM [Apache] Status change detected: stopped 8:14:33 AM [Apache] Error: Apache shutdown unexpectedly. 8:14:33 AM [Apache] This may be due to a blocked port, missing…
apacheasked 7 years, 10 months ago Claudio Dimande 1 -
0
votes1
answer44
viewsProblem to perform require of a file
This is my error and code respectively. I can do include in other files, only in config.php that not! Someone has a solution? NOTE: It is worth mentioning that I already tried to take out the '.;'…
-
0
votes1
answer968
viewsChange APACHE port / TEAMVIEWER
I am using Ubuntu for PHP development, so I have Apache/php/Mysql installed. Now I’m installing teamviewer for customer support, but it can’t connect. I stopped the Apache service and tried again…
-
0
votes0
answers182
viewsHelp with Wampserver! Helpme! It’s not turning green!
Folks somebody help me with a little something on WampServer. I followed this tutorial from YT (https://www.youtube.com/watch?v=2KmzkPWty7Y&t=522s) Apache in the video is version 2.4.4 and mine…
-
0
votes0
answers57
viewsProblem with Apache2 subdomain
I need to configure Debian Linux apache for my subdomain. I have already restarted the Apache server. The subdomain is configured to server IP type A record. Arquivo:…
-
0
votes1
answer997
viewsLogico Javascript Operator Error on JSF page
I have a JSF page where I use the primefaces. When I use the logic operator in my javascript functions, it displays this problem: the entity name must immediately follow the '&' in the entity…
-
0
votes1
answer293
viewsApache server stopped recording accesses to the access file.
I am running a Ddos attack experiment on a virtual apache server (Vmware). The attack was on the apache service and not the machine. From a certain time (10:20 a.m.), although there were machines…
-
0
votes1
answer159
viewsHow to allow accessing only the main page by the url
Hello, for example, on /var/www/Site I have the folder paginas and the file index.php, would like when to access site.com the only folder the user had access to would be to Site which would call the…
apacheasked 7 years, 7 months ago Lucas Caresia 2,663 -
0
votes1
answer123
viewsUser friendly URL does not work the way I need it
I have the following htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^imprensa/?$ imprensa.php [NC,L] RewriteRule ^imprensa/([a-z0-9\-]+)/?$ ler-impresso.php?p=$1 [NC]…
-
0
votes0
answers516
viewsHow to set up SSL (HTTPS) in Apache locally?
For testing purposes, I need to locally configure my Apache to accept access to a particular site configured in Virtualhost with SSL. I believe that knowing somehow configure SSL in a local…
-
0
votes0
answers418
viewsUbuntu 16.04 Lumen PHP and Apache, only works the route / the others do not work
Hello, I use Ubuntu 16.04 and installed apache and Lumen. I created a Lumen test project called financas. The project folder is in the /var/www/html/sub-zero/financas folder when accessing my…
-
0
votes1
answer1558
viewsapache 2.4.23 configuration to work on a home network!
I’m trying to serve an application on a home network (windows10) however the tips I find on the web to change apache settings don’t work, probably because they refer to earlier versions of Apache…
-
0
votes1
answer161
viewsAbout the htaccess file
At the time of commissioning data from APACHE servers with PHP, what should we do about the file ".htacess"?
-
0
votes0
answers241
viewsError 503 in Wordpress / Woocommerce
In need of help. Suddenly the Woocommerce store starts presenting 503 errors Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity…
-
0
votes0
answers53
viewsError requesting Cakephp internal pages?
I got a problem with mine CakePHP, I’m completely new to this framework and my erro is as follows: 2017-05-01 10:09:45 Error: [MissingControllerException] Controller class PagesController could not…
-
0
votes1
answer40
viewsVirtualhost returning strange characters?
I need to access a virtual host of my machine, and of a device Android (consume a API) When access the virtual host with the name I defined in my hosts "http://api.xpto/usuarios", I can receive the…
-
0
votes2
answers203
viewsHow to use Plone at gate 80?
Good morning! I have a PLONE server running with ZOPE on port 8080. What I would like is to use port 80 so that access is done directly. I have Apache installed and running on port 80, use the…
-
0
votes1
answer277
viewsCreate / Edit a file on the server (Apache)
With the following code I would like to create a file on the server. <?php date_default_timezone_set('America/Sao_Paulo'); $nomeArquivoLogDia = date('Ymd') . '-teste.log'; if…
-
0
votes1
answer426
viewsChange url via . HTACCES
Sehores, good afternoon, sir. I need to change my homepage to a subfolder. I added the following code to my file .htaccess, but only worked for url without www, ex: dominio.com.br , redirects to…
-
0
votes1
answer2219
viewsForbidden when accessing my directories - Apache
I am using Windows 7 x64 and installed apache 2.4 with PHP 7.1 separately, configured everything and when I place localhost, it works normally. So inside my htdocs, I created a folder called…
-
0
votes0
answers306
views -
0
votes1
answer86
viewshtaccess file giving Forbidden
I’m wearing the Uniform S erver, which is a portable server, and already has mod_rewrite active and even then my htaccess file returns Forbidden. filing cabinet: RewriteEngine on RewriteCond…
-
0
votes1
answer93
viewsWhich Apache2 Cipher Suite is compatible with Chrome 49 on Windows XP?
I need a website to be accessible on Windows XP using HTTPS, but what I get are Handshake errors. My Apache2 settings are as follows. SSLEngine on SSLProtocol ALL -SSLv2 -SSLv3 SSLHonorCipherOrder…
-
0
votes2
answers363
viewsSet domain to Docker-Compose container
I’m starting to use Docker-Compose and would like to know how to set up a domain for my apache container via Docker-Compose.yml? Currently to access my container I type localhost:3000. cms:…
-
0
votes1
answer380
viewsRedirect HTTPS to HTTP on Centos
I have a domain that no longer has his ssl certificate, the domain is pointing to a Centos 6 server. Every time someone tries to access it using HTTPS it will show in the browser that that domain is…
-
0
votes1
answer362
viewsWhy is working locally slower?
Always when I climb a local server with PHP or NodeJs, I come across a slowness that in a lodging does not happen The same happens when I simulate a server with Ngrok That is, this is all because of…
-
0
votes3
answers346
viewsRedirect file access via htacess
Good when user type some file with the .txt I have to send it to an authentication file called download.php Example, if user type www.meusite.com.br/documento.txt I have to redirect him to the…
-
0
votes2
answers307
viewsHow to create an exception in htaccess for locking folders
I have a folder that contains some Pdfs and would like to block the folder access by the url (eg www.site.com/pdf) so I got the following command deny from all but when I call PDF inside an iframe…
-
0
votes1
answer1113
views.htaccess does not work
Hello, I already use these rules. htaccess and never gave me problem, so much so that use in other providers currently, I wonder if the version of apache or php on the hosting server hinders the…
-
0
votes0
answers955
viewsPHP accessing files from another micro on the network
I know this question can be marked as duplicate, but I haven’t found any definitive answer. After all, it is possible to access files from a computer on the same network, using PHP, without changing…
-
0
votes1
answer68
viewsHow to rewrite apache URL with variable and then use other variables in PHP?
Hello, I don’t know if the title of the question makes much sense, but the question is this:: I have that code: RewriteRule ^teste/([a-z]+)$ settings/php/teste.php?lib=$1 It creates a redirect, but…
-
0
votes0
answers564
viewsForbidden for any htaccess
I’m using the Uniform Server portable server, I’ve already decoded the line to activate apache mod_rewrite, but I’m getting the error 403 Forbidden for any file . htaccess to use, this first is from…
-
0
votes0
answers661
viewsI can’t start Mysql on Easyphp
Whenever I use Easyphp I cannot start Mysql and Apache starts normally. What I can do?…
-
0
votes1
answer1072
viewsHow to configure my htaccess?
I currently have a linux server on linode.com, where I have a java application running on a Tomcat. From this, I would like to perform some settings in the file htaccess. My problem is that on the…
-
0
votes0
answers101
viewsApache, Python and mod_wsgi
Sirs, I use simple web applications, running in Apache2 and with PHP on the server, to automate trivial tasks on my work team. I use PHP only for LDAP and BD requests, using jQuery, lodash and pure…
-
0
votes1
answer71
viewsRewriterule conflict in htaccess
I’ve done several searches but I haven’t found the solution to my problem. I have an htaccess in the following format: RewriteEngine On RewriteRule fotos$ arc_fotos.php RewriteRule fotos/$…
-
0
votes1
answer1755
viewsUncaught Error: Call to Undefined Function mysql_query()
I am doing my login system and is giving the following error when logging in: Fatal error: Uncaught Error: Call to Undefined Function mysql_query() thrown in D: xampp htdocs login.php on line 41 if…
-
0
votes2
answers866
viewsAngular 4 App on Apache
I would like an example of htaccess to use in my Apache. The scenario is as follows: I have an Angular 4 application that needs to run on a separate back-end server. I build using the ng build…