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
answer69
viewsDo browsers cache the . htaccess file?
I wrote a regular expression to make the site always redirect to the HTTPS protocol. However, it is not possible to use HTTPS in localhost. To gain access, I turned the lines responsible for the…
-
1
votes0
answers19
viewsproblems with redirecting in . httacess
What do you have to wrong in this code: <ifModule mod_rewrite.c> RewriteEngine on RewriteBase /crud/ RewriteRule ^(.*)$ index.php RewriteCond %{REQUEST_URI} !/manutencao.php$ [NC] RewriteCond…
-
1
votes1
answer219
viewsHow to receive firebase information on an ion-select?
Hello, I’m having difficulty recovering information already stored in other registrations in an ion-select. In a previous registration the Local is already registered and in a second registration…
-
1
votes0
answers133
viewsNON-WWW | Force HTTPS | Sub-areas
I’ve been having trouble setting up my htaccess. I’ve tried many settings I found on the internet and even some here and no success. I need my htaccess to have the following features: Always use…
-
1
votes1
answer1927
viewsHTTP redirect to HTTPS with LARAVEL
Good afternoon devs, I’m having trouble rerouting HTTP to HTTPS, I have the following content in my . HTACCESS # Redireciona para o HTTPS independente do domínio RewriteCond %{HTTPS} off RewriteRule…
-
1
votes0
answers20
viewsuse . htacces appropriately for links
So, I have in my . htaccess the following condition: RewriteCond %{REQUEST_URI} !.(jpe?g?|png|gif|css|js) [NC] that tells me to release the above extensions in case of the redirect below RewriteRule…
-
1
votes0
answers39
viewsInsert Summary into Word document using apache poi library
I am creating an android application of answer of forms, at the end of the questionnaire I am creating a file . docx using the apache poi library, the document is already written successfully,…
-
1
votes1
answer127
viewsDjango Application Deploy with Apache
I made a Django application and am doing some deployment tests on a virtual machine with Ubuntu Server 18.04, before deploying it in a VPS. I made the settings correctly, but I’m having a problem…
-
1
votes0
answers48
viewsCORS error when trying to authenticate an API on localhost
I am trying to access my API that is on localhost. However, when trying to access it, I come across the following error: Failed to load http://127.0.0.1:8000/api/login: The…
-
1
votes3
answers144
viewsforce ssl with htaccess and angular7
Well I have a website hosted at UOL, and I’m going through a strange problem. The structure of the site is so: | index.html | .htaccess | |app1 | | .htaccess | |index.html | |app2 | | .htaccess |…
-
1
votes0
answers87
viewsApache2.4: Service is already installed
I’m trying to install two apache2.4 services only with different ports, 64 and 32 bits respectively. Both using the php7 64-bit apache2.4 is installed. As I thought it was because architecture…
-
1
votes1
answer418
viewsApache gets too slow
My apache starts to slow down from nothing, 5 minutes after I turn it on and the users start to access the site and apache starts to slow down, I used the TOP command in centos to see the processes…
-
1
votes0
answers17
viewsRedirectmatch is triggering another rule in . htacces triggering unwanted behavior
I’m trying to make the following redirect https://www.example.com/alguns-diretorios-diferentes/0-todas-pr for https://www.example.com/alguns-diretorios-diferentes/0-todas-as-cidades-pr I added the…
-
1
votes0
answers43
viewsEncrypt lets for multiple domains with Ubuntu
I wrote a PHP script that creates new websites for my clients, with different domains for each site. This way, I can quickly create a new custom site for my customers. As an example, my domain is on…
-
1
votes0
answers1714
viewsGenerate A1 certificates for testing in the ICP-BRASIL standard
I need to generate a FAKE digital certificate with the standard used by ICP-BRASIL for testing systems with the following files: 1. Certificate Chain (Pro system identify the certificate when…
-
1
votes0
answers92
viewsHow to generate a nonce with mod unique_id for Content Security Police?
I’m trying to generate a nonce to the CSP, I have already enabled the mod unique_id of the Apache, and .htaccess is already generating correctly. Header set Content-Security-Policy-Report-Only…
-
1
votes0
answers370
viewsView all active sessions on php/apache2 server
I am developing a page where the customer would like to have access to who is online at that time. The system uses a table in Mysql with login information and logs in using sessions. At first I had…
-
1
votes1
answer671
viewsPrevent direct access to wordpress videos (Prevent direct access files)
I own a wordpress-based Learning application, and I have several video lessons in the directory public_html/wp-content/uploads/... I would like to prevent direct access to these videos, since it is…
-
1
votes0
answers80
viewsRedirecting the root URL to a directory . htaccess
I have the following domain: https://aulasprofdanilo.com.br When accessing it it is possible to observe that it directs to the following screen (see below): In order to access my teaching platform,…
-
1
votes1
answer102
viewsConfigure pre-fixed url of the application with Tomcat
I developed an application in Vue, managed the folder dist for production and managed to publish it using Tomcat. In this case I played the dist folder generated in the /webapps/helloWorld folder. I…
-
1
votes0
answers93
viewsProblem with Xdebug in vsCode
Until yesterday it worked normal, now it is always returning this error in the middle of the process in the debug console: XDebugError: command is not available at new Response…
-
1
votes0
answers16
viewsError installing Pip install mod-wsgi-httpd
I am trying to install the mod-wsgi-httpd package via the Pip command, but am getting the following error: ... File "c:\python39\lib\urllib\request.py", line 641, in http_error_default raise…
-
0
votes2
answers1199
viewsGzip compression using Apache server
How to enable gzip compression in Apache? I took a look and saw that it is by htaccess, but every article I read passes a different instruction. Is there any material, article or thing like that…
-
0
votes1
answer353
viewsFalling cloud with 200 simultaneous accesses
I have a cloud with the following configuration: Xeon E5420 8x 2.50Ghz, 5GB de ram SSD RAID 10 4x priority - 24 CPU Core e 6TB de banda, but when it reaches 150 to 200 simultaneous accesses it…
-
0
votes1
answer6399
views.htaccess to URL friendly
How do I make rules Mod_Rewrite (htaccess) for my pages? I’m not used to .htaccess Rules I would like: www.exemplo.com/index.php for www.exemplo.com www.exemplo.com/perfil.php for…
-
0
votes1
answer120
viewsIs it possible to customize the Apache directory?
It is possible to customize the Apache directory where the files sent to the server are listed?
-
0
votes1
answer107
viewsVirtual server EC2 receives requests but cannot access another host
I have a virtual machine on Amazon AWS with Ubuntu where I installed Apache2, PHP5 and Mysql. It was all running well, well configured, my site working very well on it. Until suddenly the virtual…
-
0
votes2
answers251
viewsApache Forbidden 403 at Elementary OS
After updating my PHP/APACHE I can no longer access my projects through the browser, keeps returning the Error Forbidden 403. Information on the environment: PHP 5.5.12-1+deb.sury.org~precise+1…
-
0
votes1
answer538
viewsProblem with xampp server
I have a problem in the xampp server, this installed on a linux, where when I start via terminal appears the following message below. Tail: could not open "/opt/lampp/logs/error.log" for reading:…
-
0
votes1
answer1190
viewsDefault route controller/action and links to css/js do not work cakephp
After extracting cake 2.5.2 to the directory (Linux) /var/www/html/teste when accessing the url http://localhost/teste it loads the contents correctly from the controller pages and action display…
-
0
votes1
answer2188
viewsInternal Server Error with . htaccess Linux Mint file
I’m getting an HTTP 500 error Internal Server Error on linux Mint, Apache server. Server version: Apache/2.4.7 (Ubuntu) / Server built: Apr 3 2014 12:20:28 file . htaccess RewriteEngine On…
-
0
votes1
answer1533
views403 Forbidden You don’t have permission to access / on this server
I have the following Virutalhost Configured on my server Listen 8080 <VirtualHost *:8080> ServerAdmin application DocumentRoot "C:\wamp\www\application\public" ServerName localhost…
-
0
votes0
answers33
views -
0
votes2
answers129
viewsWhy do my Virtualhosts point to the root folder.?
I’m using the Apache 2 in the Ubuntu 14.04. I moved the folder www/html to my other partition /media/Dados/www. But that’s not the problem. The problem starts when setting a vhost to a subdirectory:…
-
0
votes1
answer1125
viewsSetting the "upload_tmp_dir" folder of a cloud server
I am trying to upload media to my server with a php code. I have already redone the code a few times and I believe that there is absolutely nothing wrong. I researched on the subject and saw that my…
-
0
votes1
answer87
viewsWhen accessing a *.php lead to Autostart.php? url=*. php
Hello, I have a problem, I need you to access any file .php, he directs to autostart.php?url=*.php Explanation: In the autostart.php it da include in a file and after it gives include in the page…
-
0
votes1
answer1984
viewsRedirect HTTPS to HTTP using . htaccess
Operating system: Ubuntu 14. Web server: apache2. Friends, I already searched on this and I can’t redirect the url, which is inserted with the https protocol, to the same url, only with http.…
apacheasked 9 years, 11 months ago FightSurf George 1 -
0
votes3
answers2044
viewsProblems with session_start()
I’m having trouble with my PHP code for the User Login. This code is working on local machine, however I went up in my instance Amazon and the moment I log in the server does not authenticate the…
-
0
votes1
answer621
viewsHost two websites in a single VPS
I am trying to host two different websites in the same VPS. What are the right procedures to do this? The server apache is already installed and I can host files there. However I can’t host two…
-
0
votes1
answer345
viewsUrl rewriting does not work on https
I have the following problem: Dude. htaccess defines my URL rewriting that works perfectly when accessed by http but when accessed by https it informs that the page has not been found. Below is my .…
-
0
votes0
answers65
viewsProblem with file access
I have a serious security problem and I really don’t know how to fix it. I have some folders with sector budgets on the same server that runs the intranet system we have. I set folder by folder the…
-
0
votes0
answers52
viewsWordpress changing URL when accessing links
I have a domain www.dominio.com.br that points to my server and is redirected via .htaccess for the sub-folder www.dominio.com.br/novo through the following code: RewriteEngine on RewriteCond…
-
0
votes1
answer170
viewsUrl Friendly . htaccess problem
I have the following file . htaccess: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d ErrorDocument 404 /erro404 RewriteRule ^(.*)$ index.php?rota=$1 [L,QSA]…
-
0
votes1
answer172
viewsConfigure Virtualhost in wamp
I have the following configuration on wamp: <VirtualHost *:8080> ServerName 192.168.10.129 ProxyPreserveHost On ProxyPass / http://172.31.42.42/ ProxyPassReverse / http://172.31.42.42/…
-
0
votes1
answer635
viewsRedirect Rest service with . htaccess
I have a folder in my project called api, and within it a file .htaccess that should redirect the requests (made via jquery) to the folder app/controllers/rest/ which also has a file .htaccess and a…
-
0
votes2
answers312
viewsApache results in Unavailable Service after installing Nginx and hhvm
I installed the Nginx and the HHVM to test the language Hack. Everything perfect, I can program in Hack and PHP using that set. However, in giving stop in the Nginx and HHVM and start in the Apache…
-
0
votes0
answers102
viewsMod_rewrite in Cakephp
I need to change all the URL’s of a website once it’s done. The current URL is in the following structure: www.meudominio.com.br/website/ And I would like it to be removed from all the internal…
-
0
votes1
answer2528
viewsHow to run a . php automatically, every day, at a certain time?
Could someone show me how to create a rule (in Apache maybe) so that every day, at a certain time, a file .php be executed. Is there any way to do this?
-
0
votes1
answer527
viewsredirecting with mod_rewrite not working on wamp
mod_rewrite is already enabled as we can see in www.joocebox.com/? phpinfo=1 I made the change also in the archive httpd.conf as below: DocumentRoot "c:/wamp/www/" <Directory /> Order…
-
0
votes1
answer118
viewsRedirect site with . htaccess
Good Afternoon! I want to make a redirect on my website and am not finding the solution. I want when the guy accesses by ip for example: https://1.2.3.4 he directs to https://site name It is…