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
-
5
votes2
answers52
viewsDoubt regarding the https protocol
I am setting up an Apache server in Debian. When accessing https://.../index.php by Chrome , I have the following result: So my doubts are: To appear : I necessarily need a paid certificate, or is…
-
5
votes2
answers872
viewsHow to prevent http auto-redirect to https?
My web development container uses the image php:7.1-apache. To make it easier to memorize the address of the applications contained in this container, I like to edit my machine’s Hosts file and make…
-
5
votes2
answers151
viewsDoes HTTP/2 need something other than server configuration to work?
I already have HTTP/2 configured on the server, testing by https://tools.keycdn.com/http2-test the result is: HTTP/2 Protocol is supported. ALPN Extension is supported. But looking through the…
-
5
votes1
answer4714
viewsWhat are the possible causes of "Connection reset by peer: Fastcgi: Comm with server aborted" error and how to fix it?
According to some responses in the OS, such as this and this, it seems that the error occurs because it ends the max_execution_time, but it was not clear to me what are the possible causes and how…
-
4
votes3
answers2416
viewsUse or not use bar at the end of a URL?
Whenever I will create a new website and think about the .htaccess me hit that question: force or not force the use of bar at the end of the URL. For example: http://meusite.com would be…
-
4
votes2
answers247
viewsStrange redirection
Even without the . htaccess and without the active apache rewriter module if I call meudominio.com.br/page it will search first.html page if it does not find it will fetch.php page. How do I disable…
-
4
votes1
answer127
viewsMicro Ddos mitigation and sudden high access number in resource-limited web applications
It is extensive documentation of how to mitigate (proactively reduce impact while it occurs) denial of service attacks in web applications. People usually cite services like Cloudflare or else as…
-
4
votes1
answer1547
viewsNGINX as reverse proxy and cache of an external shared server running apache
I’m trying to set up a Brazilian instance on Amazon to be reverse proxy with server caching and compression (I accept dashboard suggestions, preferably free, that accept this setting) in the US. The…
-
4
votes2
answers252
viewsInterpret and direct with URL that after domain contains a hash
I am creating a rule for interpreting addresses that after the domain begin with # followed by numbers or followed by letters whose rule should only be read if there is no file or directory matching…
-
4
votes3
answers529
views403 Forbidden when saving data from a form
I have a field in the form that allows html tags. If you insert the following line into the field and submit the form, it returns error 403 Forbidden: <span style="display:…
-
4
votes2
answers13199
viewsHow to force cache cleanup on my visitors' browsers
I usually update the style sheet of my site (CSS) a lot. What happens is that my visitors see no difference. Is there a script or something that forces cleaning? Example: On the next access the…
-
4
votes1
answer4795
viewsApache Maven scopes usage situations
The question is about the different values that can be assigned to the property <scope> of the Apache Maven dependencies, and what criteria should I establish for the use of each of them.…
-
4
votes1
answer93
viewsChange lines of code within files with Apache Ant
I’m studying Apache Ant to try to change some existing lines of code within files, but so far I haven’t found anything about it in the official documentation the most I can do is rename files like…
-
4
votes1
answer196
viewsWhat is the right way to use DNS wildcard?
I need my server’s Apache virtualhost to meet the following rule: 1- If it’s.com or www.domain.com, then display the content in /var/www/domain.com/home 2- If for blog.domain.com, then display the…
-
4
votes2
answers1937
viewsError: "PHP Startup: sqlsrv: Unable to initialize module"
I’m trying to access SQL Server through XAMPP on Windows 7 64 bits, but I’m not getting, I already followed step by step the tutorials, but when starting Apache gives the error in the line below:…
-
4
votes1
answer73
viewsCache control for a specific file
If we want to implement a cache control for a particular file type, through the htaccess we can proceed as follows: <IfModule mod_expires.c> ExpiresActive on ExpiresDefault "access plus 1…
-
4
votes1
answer348
viewsapache error = get overlap result error
I have an apache error that I can’t fix, in php log no error is reported only in apache. Has anyone identified anything like this? Below the apache log: [Mon Jan 05 10:20:26 2015] [warn] [client…
-
4
votes2
answers798
viewsApache + Delphi XE7 + Datasnap. Memory problems
I developed a program with Apache, Delphi XE7 and Datasnap. My Apache httpd.exe consumes memory until it gives the "Out of Memory" message so I need to restart Apache. I configured Servermodule…
-
4
votes1
answer562
viewsEnable php error page
I’ve seen several attempts to enable error pages in apache/php but none worked here. have file .htaccess and in it I have the following lines: ErrorDocument 400 /index.php ErrorDocument 401 /401.php…
-
4
votes1
answer2084
viewsSet Laravel to Standard Level/Directory
I have an app Laravel and do the deploy from git to my server. But the problem is that the server always plays deploy inside the public folder, and the Laravel originally is to stay one level above.…
-
4
votes2
answers1176
viewsTwo apache installations on the same server
I have a windows server with Bitnami (only with Apache running) and another apache installed manually. Since Bitnami Apache is for Postgresql database and Apache installed manual is for Mysql. It’s…
-
4
votes2
answers1431
viewsURL in netbeans does not work
I am trying to run a project in php in netbeans and it runs the following url: http://localhost/portfolio/index.php Only my project does not open. It only opens at the following url:…
-
4
votes1
answer7391
viewsAccess by Phpmyadmin ip
Inside the folder c: wamp alias phpmyadmin.conf there is the line below to free phpmyadmin access for all machines in the network: <IfDefine APACHE24> Require all granted I wonder if there is…
-
4
votes2
answers34966
viewsWhat is the correct way to use the Location header?
I am doing a course of PHP and Mysql in Alura and arrived at the part where we build the code that removes the product from the database. The page calling the delete function has to redirect the…
-
4
votes2
answers399
viewsUsing Node.js and PHP on the same server (Amazon EC2)
My site is made "totally" in PHP and I used Node.js for the real-time chat part. I’m using the services of AWS and I came up with a big question: I can install Node.js in the same PHP instance…
-
4
votes1
answer414
viewsIs it dangerous to leave mod_mime_magic active in Apache?
Once I was arguing with a programmer more experienced than me (the user @Bacchus) about uploading files. I was commenting on it not making sense for someone to try to upload a file with extension…
-
4
votes1
answer1223
viewsIs it possible to run a different PHP in a given folder?
I got a problem: The server uses PHP 5.3, which is very old but cannot be changed. I have a script that requires PHP 5.4+, websocket Ratchet. It is possible to install a separate PHP to be used only…
-
4
votes1
answer2112
viewsApache how to redirect port?
How do I redirect my standard apache website which is at port 80 to a web service at port 8080? Utilizo Centos 7
apacheasked 7 years, 5 months ago Igor Santana 651 -
4
votes2
answers318
viewsPHP mkdir vs chmod
I was creating folders dynamically by PHP, when I came across the following situation. Occurred Create a folder tmp with permission 777 in /www mkdir('/www/tmp', intval('0777',8), true); Turns out…
-
4
votes2
answers6024
viewsInitialize apache and mysql in windows 7 32 Bits using Xampp
I would like to initialize Apache and Mysql from Xampp as soon as the system is initialized, I did some research and found this: Service installation: In C:/xampp/apache double-click…
-
4
votes1
answer222
viewshtaccess that hides only directories
I created a directory assets in order to place the Assets of my project. So far so good, however, I found that when typing in the URL localhost/project/assets, it shows the directory structure of…
-
4
votes1
answer555
viewsIs there a way to create a valid certificate for Apache localhost?
Look at my local development I have made use of https://localhost, created the certificate by apache openssl, works beauty. As it is not a certificate that is in an external source the browser says…
-
4
votes1
answer1005
viewsHow to use HTTP2 on the Apache server
Today on my server I use HTTP 1.1, if I want to upgrade to version 2 What should I do? I need to install something on the server? Since the syntax is the same as version 1.1, it will not influence…
-
4
votes1
answer425
viewsHow to Automatically Detect a Captive Portal
I’m making a hotspot on a server with Centos 6 and would like to have mobile phones (android and iOS) automatically recognize that they need authentication as soon as they connect to the network, to…
-
3
votes1
answer366
viewsError in final bar with mod_rewrite and mod_jk
I have the following structure on my server. Apache HTTPD (port 80) Tomcat (gate 8080) I used the mod_jk to make the connection between apache and Tomcat and this is working perfectly. I created a…
-
3
votes1
answer2633
viewsIt is possible to deny access to the directory and allow access to the file with . htaccess? how?
I’m trying to make one. htaccess to the user-friendly url’s but would like to make sure that people can’t see my directories and at the same time that the scripts can access the files... it is…
apacheasked 10 years, 6 months ago RodrigoBorth 4,475 -
3
votes2
answers45591
viewsHow to change the www (Documentroot) folder to another partition in Apache 2.4 (Ubuntu 14.04)?
I tried to change the Document Root changing the files default.conf on sites-available. But I get the message that I’m not allowed to access the localhost. Would anyone know the exact procedure? May…
-
3
votes4
answers6030
views -
3
votes1
answer47
viewsMaxrequestlen error while uploading files
I’m working in PHP and doing upload files, when trying to make a upload of 60M get the following error: mod_fcgid: HTTP request length 16784592 (so far) Exceeds Maxrequestlen (16777216) I have my…
-
3
votes2
answers865
viewsASP.NET vNext in Apache
I have heard a lot that ASP.NET 5 will work not only on Windows environment but also on Mac and Linux. I was wondering if you can run ASP.NET 5 applications on the Apache server. I searched a little…
-
3
votes1
answer1279
viewsProblems with Tomcat 7
I have a Java web application installed on a Windows Server. When Startar Tomcat, it works normally, and addresses like: http://localhost:8085 and http://localhost:8085/examples (examples that…
-
3
votes1
answer1297
viewsWhat would be "Server Signature" and how to turn it off?
In some tests found that the "server signature was on", I do not know what this is. What is and how can I turn off this "signature"? In security tests conducted recommend that I turn off this…
-
3
votes1
answer754
viewsDifference between Httpclientbuilder.create(). build(), Httpclients.createDefault() and Defaulthttpclient
When creating an HTTP connection using: HttpClientBuilder.create().build(), HttpClients.createDefault() or: DefaultHttpClient. What’s the difference? private static CloseableHttpClient httpClient =…
-
3
votes2
answers218
viewsRunning Silex on the shared provider
I just uploaded a site to Locaweb on a simple and shared Linux hosting, only it didn’t work for once. I imagine it is because the index is not in the site root, but inside the folder public.…
-
3
votes1
answer3262
viewsapache server does not execute. php files
I just installed Apache and PHP on my linux, and All my files . php are showing up this following log error: [Sat Mar 07 12:10:48 2015] [error] [client ::1] PHP Warning: Unknown: failed to open…
-
3
votes2
answers1991
viewsApache/PHP server does not respond while making a SOAP request
I am working on a PHP application that consumes a third-party Web Service through SOAP requests. But something that’s getting in the way is that while one page is making a SOAP request no other page…
-
3
votes1
answer3027
viewsHow to free access to specific FOLDER or FILE using . htaccess?
I have a . htaccess in my development environment. Now I need to release a directory of the site, actually a specific PHP file. I’m using this code on. htaccess, I am releasing several extensions,…
-
3
votes1
answer618
viewsAccess Dropbox folder on Android
Is there any way to access the Dropbox folder? I have the following problem, I am developing a webapp that will work local in tablets of an event, so for this I am using the Androphp app and I would…
-
3
votes2
answers300
viewsCreate virtualhost in windows (apache in Ubuntu)
I’m trying to set up mine apache to access a folder in my HD with windows, have 2 hds on the machine, a ubuntu and the other the windows. The apache already installed, including I have created the…
-
3
votes1
answer1078
viewsHow to get PATH_INFO on Nginx when we use rewrite (friendly url)?
I created a .htaccess in the briefcase /var/www/project/: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1…