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
-
2
votes1
answer56
viewsHow to modify the URL of www.meusite.com/index.php? secao=quemsomos para www.meusite.com/quemsomos?
My file . htaccess is this way: RewriteEngine ON RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?secao=$1 I want to translate the url…
-
2
votes1
answer201
viewsNetbeans + Php7.0 + Apache2 + Debian : Best Practices
Was having trouble enabling apache2 to run . php pages. Then I did the following: I removed from the Directory address the html folder, so was the file: I removed the html folder in /var/www/html…
-
2
votes0
answers310
viewsPermission denied Laravel 5.5
I’m trying to create my first Windows project with vuejs. I installed apache on Ubuntu 16.04 and navigated to the /var/www/html folder. I’ve circled the following command: composer create-project…
-
2
votes1
answer54
viewsApi returns data correctly by Artisan serves but not by apache
I made a REST api using Laravel, for an application I’m doing, to perform the request tests I created a VM where the api is. Assign a fixed IP to this VM and disable the firewall to not disturb. I…
-
2
votes0
answers157
viewsApi returns data correctly when requested by localhost but not by ip
Yesterday I did this question: I made a REST api using Laravel, to an application that I’m doing , to perform the requisition tests I created a VM where is the api. Assign a fixed ip to this VM and…
-
2
votes2
answers874
viewsApache: prevent SSL forwarding of a specific URL
My server (Apache 2x) is working correctly with SSL certificate but need to prevent that only a single URL accept normal connection (HTTP only). The current structure is like this (it is messy due…
-
2
votes2
answers220
viewsDoubt about htaccess
I have a friendly link that would be localhost/artists/nome-do-artista/, but I want to create pages inside it for example Biography. localhost/artists/nome-do-artista/biography, only that my…
-
2
votes1
answer1088
views"Primary script Unknown" while Reading Response header from upstream - NGINX
Hello, I am trying to run my Wordpress site on the Host that has this setting: Ubuntu LTS 16.04, Nginx, Apache, Mysql, PHP, Webmin While trying to enter the home page, the error that is displayed in…
-
2
votes0
answers142
viewsimage does not appear by rule in . htaccess
I have my .htaccess in the form below: <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -t [OR] RewriteCond %{REQUEST_FILENAME}…
-
2
votes1
answer129
viewsHow to get the logged-in user on the machine accessing the PHP page?
I need to get the user who is logged in to the machine being used to access a certain PHP page. The PHP page is being served by an Apache. Through some researches, I found in the PHP documentation…
-
2
votes1
answer614
viewsBlock file download via PHP script
Hi, I’m having trouble downloading some files. I suspect that someone on the team is 'inputando' a php script that downloads files from the server (such as bd settings in production). I wonder if it…
-
2
votes2
answers133
viewsHow to set a variable in the configuration of a Virtual Host, to avoid repetition?
I always get upset when I see that my virtualhost ends up being configured this way: <VirtualHost :80> ServerName meusite.local ServerAlias www.meusite.local DocumentRoot…
-
2
votes3
answers229
viewsFatal error: Uncaught Error: Call to Undefined Function mb_substr_count()
When using the function mb_substr_count , is returned the error below. I already installed mb_substr using the command -> sudo apt-get install php-mbstring , and rebooted but did not resolve..…
-
2
votes1
answer76
viewsPage loads normally but with 404 status
Has anyone ever seen anything like? http://engenhariamrc.com.br/admin It’s an Laravel 5.7 project hosted on the king host, the site is running normally on the local server, but on the web server it…
-
2
votes0
answers38
viewsFixed subfolder friendly URL problem
I’m having a problem with httaccess when including a fixed subfolder. The intention is to have a folder in front of the website domain. Example: www.meudominio.com.br/guest/500 link to the page…
-
2
votes1
answer66
viewsIdentifier in Apache Activemq
I’m trying to integrate a consumer into a queue that uses the message Broker Apache Activemq. However, to consume these queues you need to configure an identifier, user and password. I can’t set…
-
1
votes1
answer148
viewsInstallation of Maverick causes the server to stop working
I’m novice with Apples and recently bought a mac book, with Lion operating system. I installed php, mysql, etc and everything worked perfectly. Now I’ve upgraded the system to Maverick and the…
-
1
votes2
answers960
viewsHow to make Nginx display error messages on screen in the same way as Apache does instead of '502 bad gateway'
Nginx and Apache present errors differently when there is a problem running a PHP script. Apache, when configured to display on screen, displays exactly the error, with file and line where it…
-
1
votes1
answer205
viewsAPACHE URL rewriting of a Server subdomain (A) to a Server subdirectory (B)
My application is on the server (A) Accessible through the URL: nome.dominio.com.br I have another server (B) Accessible through the URL: www.dominio.com.br Need to access, this server url (B) this…
-
1
votes2
answers392
viewsPage does not stop loading when using exec in WAMP
I need to make a PHP script that runs a program on the server, but the page doesn’t stop loading, it’s like it’s waiting for the process to be finished. I already went to services.Msc and put the…
-
1
votes1
answer179
viewsRewriterule problems in apache 2.22 (in Digitalocean.Comm)
I use a cloud server called Digital Ocean. However I am facing problems while trying to create friendly Urls. I have activated the module rewrite through the command: sudo a2enmod rewrite and…
-
1
votes1
answer847
viewsFriendly URL on Windows 2003/2008 hosting with PHP site
I need to convert this file .htaccess for a Windows hosting compatible format at Locaweb. RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*)$…
-
1
votes1
answer158
viewsHow to record what is received on an Apache port directly in mysql?
Hello. I have a server Apache (XAMPP) and need to receive messages from a device that sends messages to a specific IP and port. I would like to configure the Apache to listen to a door (443, for…
-
1
votes2
answers347
viewsHow do I set up HHVM for a manually compiled apache?
During the updates of Ubuntu 12.04, the HHVM was updated and then asked to run the installation command for the fast_cgi. However when executing I received the following error: ➜ ~ sudo…
-
1
votes0
answers171
viewsUsing bootstrap and apache Tiles
I will start using Spring MVC to create my pages but have some questions: Using Apache Tiles to create templates and using Bootstrap(CSS Framework) to style pages is advantageous, or is it better to…
-
1
votes2
answers273
viewsI can’t access the other urls of the project
I’m migrating to linux and I’m having a hard time, I installed php, apache, mysql and Composer, I can create projects all blz I had a great help until I reached it all. The problem is when I try to…
-
1
votes0
answers198
viewsHow to create an apache server on the live internet?
How to create an apache server on live internet ? I’m having problems because the connection ports are blocked on the live internet and wanted to know how to connect in apache somehow ??? EDIT: only…
-
1
votes4
answers2752
viewsNo access permission for Apache 2.4.6
I upgraded Ubuntu 13.04 to 13.10, but when I went to check Apache using localhost/ I’m getting the following message: Forbidden You don’t have permission to access / on this server. Apache/2.4.6…
-
1
votes2
answers7595
viewsRedirect URL to another physical folder with . htaccess
On the Ubuntu server, I have a physical folder: /var/www/html/gestao/site/temp/ I wish my .htaccess redirect to the URL domain.com.br/gestao for this physical folder transparently.…
-
1
votes1
answer39
viewsEC2 instance not loading Apache envvars file
Today at dawn I had a small problem with one of the instances of my application. I saw that the Apache was using a lot of memory, and I decided to restart it with a /etc/init.d/apache2 restart.…
apacheasked 10 years, 3 months ago Rodrigo Rigotti 12,139 -
1
votes1
answer879
viewsHow do I set up apache HTTPS for a specific page and HTTP for the others?
I need a specific page to work via HTTPS with a specific certificate. How to configure httpd.conf, httpd-ssl and httpd-vhosts.conf files in apache? has some other file to modify?
-
1
votes2
answers757
viewsAnalyzing resource consumption by script
I have a server with S.Ubuntu Server 12.04 LTS, on this machine I have apache2 with PHP5 and PERL installed, but it consumes a lot of CPU resource, I wonder if it is a script with more problem for…
-
1
votes1
answer1535
viewsHow to redirect a URL always with bar (/) at the end?
I have that code: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteRule . /index.php [L] </IfModule> When I type http://localhost/path I’d…
-
1
votes0
answers69
viewsPOST data is not being sent
From one day to the next all systems contained in the same server stopped sending the data via post. I’ve made sure that the form and the script backend (PHP) are correct, and it is. Just because…
-
1
votes1
answer199
viewsUsing Apache2 Virtual Hosts with Vagrant
I discovered Vagrant recently, and am using it. It is well functional, set an IP, installed apache, php and cia... I’m accessing the projects via the host, via localhost:8080 or IP 192.168.33.0 But…
-
1
votes1
answer56
viewsHow do I modify a url with . htacess?
I have the url example.com/photo I would like to modify it for example.com/image Note I have access to . htacess and apache modules.
-
1
votes0
answers2370
viewsApache configuration problems
I am trying to deploy a project that is using Zend. This project is in a subfolder of the site( site.com/projects/project-name ). The site is in a VPS, to which I have root access. The server is…
-
1
votes2
answers122
views -
1
votes1
answer117
viewsIt is possible to get the Error Number returned by Page
I created a page (following the one taught in this page ) error for Error 404, but this way would have to make an error page for each HTTP Status, then Try to make a gnerica where it was possible to…
-
1
votes1
answer75
viewsHow to send errors and exceptions to the main output?
I’m using Ruby 2.1 32 bits. Interpreting scripts as CGI by Apache 2. Through Local IP. I am in a process of migrating several script in PHP to Ruby. During the process of writing code, several times…
-
1
votes1
answer2309
viewsLaravel - The requested URL was not found on this server
What I did I made a form that registers the data in the database. Locally it worked perfectly. Problem It simply says it is not finding the URL. It is strange, because the error below says that the…
-
1
votes1
answer120
views[PHP Apache Shell], Permissao apache Kill
I need to kill a lawsuit for php, but I use exec, system or exec_shell and it’s not killing the processes, I went online and the guys are saying that apache is not allowed to execute these kinds of…
-
1
votes1
answer112
viewsMultiple Rewriterules for 3rdparty and routes
I have a file .htaccess that adds PATH_INFO in the index.php file (for the route system): RewriteEngine On RewriteCond %(REQUEST_FILENAME) !-f RewriteCond %(REQUEST_FILENAME) !-d RewriteRule…
-
1
votes1
answer45
viewsPerformance for multiple domains on a single server
I have 2 domains pointed to the same server(Amazon EC2) using the VirtualHost of Apache. This practice interferes in performance and security or what will influence will be basically the number of…
-
1
votes1
answer48
viewsError 500 when adding redirects to errors 425 to 499
I have a file .htdocs where in it has multiple error redirects (has for all types of error HTTP, and that’s all there is in the file): ErrorDocument 400 /PROJETOS/error.php?status=error_400 however…
-
1
votes0
answers29
viewsXCACHE - xcache.mmap_path and xcache.coredump_directory problem
Hi, I’m installing XCACHE on my WHM server. I am putting the configuration in my php.ini, after saving, I started receiving several root emails from the server. Commenting on each line of the code I…
-
1
votes1
answer332
viewsConfigure Apache2 with PHP 5.6 to use Fuelphp
Well come on, I use Ubuntu, php5.6, apache2, mysql-server, FuelPHP. And for now I’m using the xampp that can run my applications correctly (however I have to start it always and it does not let me…
-
1
votes1
answer195
viewsAngularjs php Node apache2
I started developing in Node.js using the frameworks Express and Angular when I needed tutorials I noticed that in some is used the Angular along PHP to make bank requests. My question is: which…
-
1
votes1
answer122
viewsChange the access url to ip in htacess
I have a system that is all configuring with the address fixed in the code, for example: 'site.producao.com.br', and is in ip 10.109.104.27, but the development server is in the http://site.dev in…
-
1
votes0
answers238
viewsWindows server folder access by PHP on Linux
We have an intranet developed in PHP that is inside a Linux server with apache. I need to access a folder that is on another server and that server is Windows. Is there any way to do this?