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
votes1
answer95
viewsHow to map all requests to a single file?
I need to map all requests that arrive to the server as follows: exemplo.com/joao => exemplo.com/index.pl?u=joao exemplo.com/joao/ => exemplo.com/index.pl?u=joao My file /var/www/.htaccess is…
-
0
votes1
answer53
viewsCreating . httacess for wordpress
I set up a wordpress on a linux hosting, need to set up so that the post url instead of: http://www.example.com/index.php/post be it: http://www.example.com/post From what I read I must mecher in…
-
0
votes2
answers4183
viewsEnable . htaccess on Ubuntu 14.10, Apache/2.4.10
I’m trying to enable the . htacces on Ubuntu 14.10,. I’m putting the files in the /var/www/ I’ve tried but I can’t seem to make it work. apache2ctl -S: VirtualHost configuration: *:80 127.0.1.1…
-
0
votes0
answers73
viewsModel does not load Codeigniter
I am trying to make a Model work, it works on MAC with MAMP PRO, but in Ubuntu with Apache2 it does not work. models/users_model.php <?php if ( ! defined('BASEPATH')) exit('No direct script…
-
0
votes1
answer846
viewsRedirect any URL html extension to a specific page
Please I have a question on . htaccess (or apache). I need to redirect any url that contains extension .html or .htm to a specific url. Example: domain.com/test.html -> domain.com/page…
-
0
votes2
answers1247
viewsRewrite - How to redirect everything without index.php
I would like to redirect all requests from my Apache server to the test.php file and remove the index.php file from the root folder (public_html or Documentroot). I have the following code:…
-
0
votes0
answers108
viewsPick the string of a non-existent request
How to pick the string of a non-existent request? I am using . htaccess to redirect missing url requests (error 404). But I would like when the 404.php page was displayed, I would like to pick up…
-
0
votes2
answers96
viewsServer instance restuful in Tomcat
Staff developed an app - https://play.google.com/store/apps/details?id=br.com.apprioconcurso I am using a server restfull connection to the postgree bank in Hibernate. This server is hosted in…
-
0
votes3
answers289
viewsOimundoservlet.java - #algaworks
I am following the E-book "Java EE7 With JSF, Primefaces and CDI". I created the Maven project, edited the file pom.xml how the workbook guides, when creating the example file OiMundoServlet.java, I…
-
0
votes0
answers87
viewsRewriterule Problem (HTACCESS)
I have the following HTACCESS code: <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^customer/$ index.php [L,NC] </IfModule> (I cleaned the rest of the code to simplify.) In the…
-
0
votes1
answer71
viewsRedirect 301 adding many "/"s at the end
I am facing the following problem with the combination of more than one .htaccess in my project. I have the following structure siteprincipal.com.br (não é WordPress) and inside a domain with…
-
0
votes0
answers54
viewsConfigure multiple logs in Apache
I am working on an internal network where they are running 3 applications on the Apache server. I would like to be able to analyze the log generated by Apache separately for each application but…
-
0
votes0
answers50
viewsRegistration is not updated in the database
I have an application that takes the content of a given site and compares if it is different from the current one comparing to the record in the database and sends an email that had a change, in…
-
0
votes3
answers785
viewsfile_exists php function - relative and absolute path
In PHP applications, when I use absolute path, everything works perfectly, but when I use relative path, it doesn’t work. An example: in my application I have to use this:…
-
0
votes2
answers214
viewsCakephp version 1.3.15 Error 500
I’m working on a project in Cakephp that I can’t test on localhost. I took the project already started and as I can not do the tests, put straight keeping always the backup and work like this is…
-
0
votes3
answers50
viewsApache2 error on linux
Guys installed everything right on Linux, I played my folder in the directory www when I opened in the broswer I received the following warning: Access denied for user 'root@localhost' (using…
-
0
votes3
answers3932
viewsHow do you configure phpmyadmin on linux?
I gave one apt-get install phpmyadmin and linux did the installation in the folder etc; rode in the browser http://localhost/phpmyadmin and gave error 404. I changed and played the phpmyadmin folder…
-
0
votes0
answers204
viewsEasyphp - Unexpected end of Apache
I’m trying to start Easyphp, but Apache is showing this error. In the Easyphp logs appear the following message: Easyphp Serverbase::Timerproc : Getprocessversion Apache (pid: 11332) error 5 I’ve…
-
0
votes1
answer59
viewsPossible permission issue
While trying to run a php code on my Ubuntu machine if ( ! is_dir($system_path)) { header('HTTP/1.1 503 Service Unavailable.', TRUE, 503); echo 'Your system folder path does not appear to be set…
-
0
votes0
answers138
viewsError 500 or 502 in calling Ajax to a PHP file
I have the following problem, I have a report screen that makes an Ajax call that returns all items to me. But when the report has few records it returns everything right, Ajax makes the request…
-
0
votes1
answer24
viewsHow to reuse my . htaccess
I have the following file RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php I can access the page without the extension. I would…
-
0
votes0
answers697
viewsHow to access /localhost/?
I installed Apache2 with Mysql and Phpadmin in a notebook with Ubuntu 15.10. I did this using an administrator profile user. Now, I’m wanting to access the /localhost/ with another user but I’m not…
-
0
votes1
answer194
viewsProblem with routes with alias in Laravel 5.1
I’m having problems creating routes with alias in Laravel, I can use normal routes, however, when I add an alias on the route as: Route::get('admin/categories',…
-
0
votes1
answer1158
viewsapache2 installation error
When executing the command sudo apt-get install apache2 the following error is returned: Os pacotes a seguir têm dependências não satisfeitas: apache2 : Depende: apache2-bin (= 2.4.7-1ubuntu4.9) mas…
-
0
votes1
answer603
viewsProblems implementing an email sending method
import java.util.Properties; import java.util.logging.Level; import java.util.logging.Logger; import org.apache.commons.mail.DefaultAuthenticator; import org.apache.commons.mail.EmailException;…
-
0
votes2
answers768
viewsWhat does -Rf mean after rm?
I have a command in SSH on the platform Magento (installed on a server Apache) to delete the contents of the cache folder rm -rf path/to/folder/* but I’m not really sure what -rf means.…
-
0
votes1
answer216
viewshtaccess does not work for wp super cache plugin
I installed the wp plugin super cache for wordpress on the server and it’s working fine. But I can’t understand why my rules on . htaccess does not work for the homepage. I rewrite the requests pro…
-
0
votes2
answers53
viewsSite malfunction after change in . htaccess
For a site to get more url friendly I removed the .php using the following commands within the .htaccess: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L] It…
-
0
votes0
answers57
viewsphp class Singleton thread type
I have a class that accesses the service layer of my application. This class is a Singleton. Through the service, it accesses the data in a uniform way, so that my application has the expected…
-
0
votes1
answer935
viewsInternal Server Error with Htaccess File
It all started when I switched from Easyphp to Vertrigoserv, the file. htaccess worked perfectly on Easyphp , but here I am finding these problems... I have no idea how to solve this... HTACCESS…
-
0
votes1
answer1233
viewsDocument root Apache 2 cannot find routes from the Apache
Assuming we are on a linux server we have the following password. the root Document pointed to <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /var/www/html/laravel/public…
-
0
votes0
answers227
viewsPHP:PDO connection pool with Postgresql, what to use?
Thinking about the following scheme: Linux Server (may be Ubuntu Server) + PHP using PDO + Postgresql + Apache HTTP server + Some pool of connection I would like some pool tip (that is reliable) to…
-
0
votes1
answer556
viewsAll Apache requests pointing to the same directory
I set up a Vhost for my project as follows: 1 - I added a line to the file /etc/hosts containing local address, url and alias 127.0.0.1 meuprojeto.com meuprojeto 2 - I added the file meuprojeto.conf…
-
0
votes1
answer617
viewsProblems configuring routes on apache2 server with Laravel 5.1
I was doing a local project and always ran it with php artisan serve and everything was going perfectly now that I am going up the project to a machine of the digitalocean I am having problems with…
-
0
votes1
answer37
viewsenable rewrite on Linux
Guys I’m trying to enable rewrite in linux ubunto and I’m not getting, it’s different from windows WAMP, someone give me a way? I made this code but it doesn’t work! RewriteEngine on RewriteCond…
-
0
votes1
answer1073
viewsHow to clean temporary sessions in Apache
I have an Apache server which is storing user sessions in files in a folder. php.ini [Session] session.save_handler = files session.save_path = "/tmp" But in the "/tmp" folder it has several files…
-
0
votes1
answer1556
viewsPHP page returning HTTP/1.1 200 OK
After SQL query and return data using JSON, using the browser Firefox is written the following on the screen: 0 HTTP/1.1 200 OK Date: Sun, 12 Jun 2016 22:52:42 GMT Server: Apache X-Powered-By:…
-
0
votes0
answers1704
viewsApache shutdown unexpectedly , Does Not Work/Start!
Man shaman no longer starts the Apache, this is making it impossible for me to test my codes, I was programming, everything was working normally when out of nowhere my Apache stops working and every…
-
0
votes1
answer46
viewsallowing access to the webserver only with android
Guys I have a folder on my site called webserver, within it I have several php files that mount the json that is sent to my app that I am mounting. However I wanted to block this folder so that it…
-
0
votes1
answer91
viewsblock image link to other websites
Guys I have the following folder at the root of my site: Arquivos/Fotos/goto1.jpg If I type in the browser the link co my site (www.meusite.com.br/Files/Photos/goto1.jpg) the photo opens, and…
-
0
votes1
answer2148
viewsHow do I restart apache on a web server?
I made some settings in php.ini of my site that are not working, and they told me that I needed to restart apache to make it work, but I don’t know how to proceed with this reboot. Someone can give…
-
0
votes1
answer61
viewsSlim Framework with Apache2.4
Good morning. I am creating an API to provide a service for other applications. I have the following scenario. A system to provide the service. This system has a virtualhost configured. The Uri is…
-
0
votes1
answer43
viewsApache Rewriteengine affecting Tomcat - Ubuntu 16 server
I have the following problem. I have set up the htaccess file so that all requests are redirected to using ssl (https). So far everything worked correctly, but recently I installed Tomcat on the…
-
0
votes1
answer108
viewsApache/PHP returning default http status
I am creating a REST api in PHP, and in certain situations return an HTTP status with the specific error message for what occurred, for example, 403 Invalid Access Key rather than simply 403…
-
0
votes0
answers49
viewsHow to install apache 2.2.31 in Edora?
I need to maintain a site that only runs with this configuration: Apache: 2.2.31 php: 5.4.45 mysql: 5.5.50-cll I am trying to set up in fedora23, I have already removed apache related td that was…
-
0
votes3
answers6527
viewsHow to release port 80 to Apache?
I am using Easyphp, and when I start, Apache displays an error saying that port 80 is already in use. How do I release this door 80? I just checked the doors and saw that there’s a inetinfo.exe…
-
0
votes0
answers220
viewsProblem with . htaccess on Amazon EC2
I am migrating a site to Amazon EC2 (Ubuntu with apache, php and mysql) and I am having problems with links routes. My file .htaccess is basically like this: RewriteEngine On Options +FollowSymLinks…
-
0
votes1
answer496
viewsOpen www with Apache2
Use the Elementary OS, and I have a virtual machine Windows, I want the Windows can access the websites of Apache2 installed on Linux, my local network is already configured, from Windows can give…
-
0
votes2
answers4217
viewsRoadblock on Apache Gate 80
An application for a control is being developed within the company, but when I try to use apache on other machines to have access returns a lock Forbidden You don’t have permission to access /backup…
-
0
votes0
answers41
viewsFiles are not changed on the server
We have the following problem, when uploading the files to a Ubuntu 14.04 linux server, the changes made to the files have no effect on the server, only locally, we have already checked the file on…