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
-
1
votes1
answer33
viewsDo not view Dominio my site
built a homemade server ( debian Linux + no-ip+ apache + mysql + wordpress + clud dns ). my problem is that : it accesses www.prensanuble.cl BUT when I try to access any link of the site ceases to…
-
1
votes0
answers213
viewsASP.NET MVC on linux (mod_Mono, apache)
I’m trying to run my ASP.NET MVC application on a Centos 7 system. After installing mono and checking that I can run using XSP, I’m having trouble setting up mod_mono on apache. Currently giving the…
-
1
votes1
answer485
viewsDjango without models view in common user admin even if you have permissions and are in the same group
Good afternoon, So I’m trying to give permissions that already come in Jango to an ordinary user who even belonging to the group cannot access the models that are granted to him. Someone had this…
-
1
votes0
answers133
viewsUsing the . htaccess file with Rewritebase
I use the file. htaccess for user-friendly URL writing, but I always have trouble with the links of style sheets and images when a rewriting is done that adds a level or removes. Type:…
-
1
votes0
answers101
viewsHigh availability git repository configuration using Helix and Zookeeper
I need to set up a cluster to maintain the high availability and synchronization of a GIT repository configured by KIE Workbench. The scenario I have is this:: VM Machine 1 - 192.168.33.50 - Ubuntu…
-
1
votes0
answers23
viewsWamp Server Forbidden error
I’m trying to put a site online (a basic site only for testing), but when I enter by my ip followed by port 8080, since port 80 usually gives problem, I get the message "Forbidden, you don’t have…
-
1
votes1
answer1162
viewsMultiple Rewrite Rules with . htaccess
I have the following . htaccess currently: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / ## Esconder .PHP # Redirecionamento externo de /dir/foo.php para /dir/foo RewriteCond…
-
1
votes2
answers53
viewsApache problem - 2 domains
good afternoon... I’m trying to set up 2 domains on 1 server: _Debian Linux _Apache2 I created the following file: pclinx.conf , then applied a2ensite , enabled and restarted apache2.…
-
1
votes2
answers1332
viewsRouter door won’t open!
So I have an Aki problem. I wanted to make a website apache2 (just for testing) and release it to the network, but the door of my router does not open at all. Router model: TL-WR740N and Modem: ZTE.…
apacheasked 7 years, 8 months ago Jackson José Gomes Do Valle 85 -
1
votes1
answer49
viewsCode analysis in production
Hello, I wonder if there is any open source tool for me to analyze memory/processing usage allocated by my methods in production. I would like to know what methods need attention and improvements,…
-
1
votes0
answers33
viewsFriendly/Optimized Url does not open
I am optimizing the Urls of a site and I had a certain problem. Some pages do not open after receiving optimization, in fact the page is found and inserted in the path, but the content of the page…
-
1
votes2
answers1900
viewsblock access to a particular directory via htacess
Well I have a folder at the root of my site called logs. Inside it I will save the logs that custom bugs that mount. Good need to lock this folder not to be accessed by anyone, just by me via ftp.…
-
1
votes1
answer133
viewsProblem using Friendly Url
Where I’m going wrong on this . htaccess ? RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] the site I developed works normally on…
-
1
votes1
answer605
viewsMaximum body size of a POST request
I have an APP that sends data via POST to a WEBSERVICE. The problem is that I have a BLOB field (the data inside it is giant) and I send about 30 records per request. My question is, there is a…
-
1
votes1
answer83
viewsHow to update Apache2 on Dedian 9 (Stretch)?
I am using version 2.4.10 of Apache on Debian 9. However, this version of Apache, which I am using, is from Debian 8. I would like to know how to update the Apache2 to the version 2.4.25.…
-
1
votes1
answer781
viewsHow to add new domains to Let’s Encrypt SSL certification while maintaining existing certificates?
I already have some domains using Let’s Encrypt SSL certificate. Through command certbot-auto, i install a certificate for a particular domain. For example: sudo certbot-auto --apache -d meusite.com…
-
1
votes1
answer34
viewsSet CLASSPATH to be accessible in Apache
How do I for the environment variable CLASSPATH be accessible by apache? I have a Django project that uses the library python-weka-wrapper that bridges the Weka Java implementation. Everything works…
-
1
votes0
answers35
viewsProblem with css and html file caching
I am having difficulties in my development environment, I am changing my css and html files and these are not reproducing the changes in the browser. "How can I configure in Virtualhosts of apache2…
apacheasked 7 years, 3 months ago Fábio Jânio 3,407 -
1
votes1
answer806
viewsPython replaces only PHP or replaces PHP and apache?
The first language I learned was PHP, unfortunately. PHP runs together with apache, but I wanted to use python instead, but the tutorials I found about python for the web make it look like it…
-
1
votes0
answers44
viewsRedirects with Htaccess
I would like to elaborate an htaccess configuration that is more or less with the following rules. When accessing http://subdominio1.meusite.com.br/ direct to a specific folder and when accessing…
-
1
votes1
answer32
viewsConvert "query" to an HTML form using . htaccess
I need to make a conversion of a "query" of an HTML form that must pass information to do a database search. I think it might be something like a sort of "friendly url," of the simplest. Basically…
-
1
votes1
answer1020
viewsProblem to raise Apache server with XAMPP on Ubuntu 17.04
I am using XAMPP on Ubuntu 17.04 and I am facing a very annoying little problem to raise apache server. When entering the directory /opt/lampp and execute the command ./lampp start is returned the…
-
1
votes2
answers161
viewsI can’t work with Uri(routes) using virtual hosts
I created a virtual host using apache, the problem is that I can access the site on my "localhost" as follows: site.com To access my site on localhost in this way I did the following in the file…
-
1
votes0
answers40
viewsWhat would be and how to use Namevirtualhost *:80?
I am installing a new site pre-configured, but for it to be installed you need to create a configuration file as follows: This part of the documentation is vague for me, and I didn’t understand what…
-
1
votes0
answers121
viewsError 404 when setting URL in mod_rewrite
Good I am trying to change the URL’s on my website as the example below the file. htaccess but I end up with the localhost "Object not found, Error 404" page. Here is the code for my . htaccess…
-
1
votes1
answer357
viewsHow to use the "php_admin_value" flag in virtualhost via PHP-FPM on a specific Virtual Host?
I decided to replace Apache2handler with PHP-FPM on my server. After this change, I tried running sudo apache2ctl configtest and I got the following mistake: AH00526: Syntax error on line 53 of…
-
1
votes0
answers2002
viewsRedirect with htaccess without changing URL
I have a system that runs on the address www.dominio1.com.br/sistema and need the user to type www.dominio2.com.br/sistema is directed to www.dominio1.com.br without changing the URL. I did a test…
-
1
votes1
answer55
viewsAccessing Debian server via IP externally
I released in my Apache 2 the port 8080 so that it can be accessed externally, I can access so: http://meu_ip:8080/nome_de_uma_pasta It would be possible to access the server only with My IP?…
-
1
votes1
answer38
viewsRedirect requests with . htaccess
I urgently need a simple and practical way to redirect via . htaccess preferably to an alternate domain of a website. This practice is to adopt SEO measures, since there are several media already…
-
1
votes1
answer110
viewsLoad page inside a div with Ajax
Good afternoon! I’m trying to use Ajax to load a page inside a div I have, but it’s giving error 403 (Forbidden). In case I can’t do it? There’s no way I could do it any other way? NOTE: The page I…
-
1
votes0
answers50
viewsApache open from an . html file to another . html in another directory
I’m using Apache to remotely access an html page, I replaced the file index.html that is in the folder /var/www/html for a file of mine that asks for an authentication and redirects the page to…
-
1
votes1
answer535
viewsHow do I force . htaccess to direct a domain into a folder?
I don’t understand much of it. htaccess from apache, so I would like to ask colleagues if it is possible what I am going to explain, I have a domain: mycard.com.br and a domain test.mycard.com.br…
-
1
votes0
answers261
viewsApache does not recognize virtual directory
There is a domain that we have entered into 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.br. I…
-
1
votes1
answer657
viewsproblem when changing PHP environment variable
I installed php via xampp and need to change this variable: NSL_LANG. I created a php file with this code: <?php putenv("NLS_LANG=BRAZILIAN PORTUGUESE_BRAZIL.WE8MSWIN1252") or die("Falha ao…
-
1
votes0
answers249
viewsThere are anti-ddos in apache ? What measures should I take by apache for prevention?
In greater detail: I believe that I am suffering some kind of attack, I suspected and I put an anti ddos, and it has already blocked some addresses, it released me the network and returned to…
-
1
votes0
answers831
viewsSession in php is lost after changing page
I’m having serious problems need to deploy a php script that I made on a centos server that I installed. Apparently everything ok. Until the time to login. it logs but goes back to login screen and…
-
1
votes2
answers143
viewsHtaccess that directs to https and also to www
I need that when the user accesses with http is directed to https and when access without www redirects to access with www. I’m using the following code on .htaccess: <IfModule mod_rewrite.c>…
-
1
votes1
answer1058
viewsProblem with PHP+Apache XAMPP redirection
The problem is this: Form file.php: <?php session_start(); ?> <form action="x.php" method="post"> <?php $_SESSION["urlName"] = $_SERVER["HTTP_HOST"] . $_SERVER["PHP_SELF"]; echo…
-
1
votes0
answers22
viewsApache how do I add file to excel spreadsheet
I would like to know how to use apache poi to add a file to the spreadsheet created by it. The file type is a . 150 KB WAV. I have read the documentation but would like to see a simple example to…
-
1
votes0
answers56
viewsApache log file
I installed the XAMPP and would like to know how I do to manage the log file of apache (my log file is 50MB and I will have problems in the future). It is possible to delimit a size so that after…
apacheasked 6 years, 9 months ago Edvaldo Lucena 135 -
1
votes1
answer56
viewsI can’t get the domain name with php
I am facing a problem that is to get the domain name of my website. I tried the code: define('PROTOCOL', 'http://'); define('DOMAIN', (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''));…
-
1
votes2
answers4611
viewsAddress already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
A few days ago when I changed the version of PHP from the server and went to restart the apache, then showed me the error: (98)Address already in use: AH00072: make_sock: could not bind to address…
-
1
votes1
answer60
viewsProblems with Rewrite PHP / Apache
02 days ago I moved from Linux distro and am now using Elementary OS. I installed Apache, Mysql and PHP manually, in the same way I installed it in the previous distro, but I have problems with…
-
1
votes1
answer576
viewsError 404 apache Tomcat
I am new to web services, however lately I have taken to develop mine, however I can’t even do a hello world due to an error that Tomcat is returning me, it just doesn’t find the URL, can help me?…
-
1
votes0
answers410
viewsHow to sign pdf with digital certificate in PHP + Apache + Openssl?
I configured the apache server to use https, managed the server and client certificate with openssl, I would like to know how to create digital signature in PDF documents through the client’s…
php apache certified openssl digital-signatureasked 6 years, 10 months ago Ebertton Abreu Rodrigues 11 -
1
votes1
answer201
viewsDelphi module for Apache 32 bit error
I’m using Apache to upload a Rest server made in Delphi, when I use the module in Delphi in the 32-bit version, I put it in the modules folder of Apache and the run simply gives error and does not…
-
1
votes1
answer2046
viewsCreate bat to finish Service
I’m trying to create a . bat file to finish and start a service on Windows. To do this I first finish the process then restart the service But the command inside the batch file (.bat) does not find…
-
1
votes1
answer227
viewsUse additional hard disk space Linux Ubuntu in main drive where apache is located
Good afternoon, you guys, Excuse the question I’m beginner in linux, I will explain my case. I have an instance of 4 Gb ram 80 ssd in google cloud Compute engine with Ubuntu. until then everything…
-
1
votes1
answer48
viewsUser-friendly URL receiving p/PHP value
My doubt lies in this URL: site.com/embed.php?id=a48sa4d2a3s4d65a1s5d6a1sd56 I get that amount for $_GET['id']. How can I turn into one URL beautiful and organized? Example:…
-
1
votes2
answers147
viewsAccess control Access-Control-Allow-Origin on the Apache PHP server side
I don’t know much about PHP and I’m trying to create an application to automatically register products from my online store directly in Mercadolivre. Ad data is captured with JavaScript and sent to…