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
votes2
answers425
viewsRedirect or deny direct access to public folder
I’m using htaccess to access the folders css, js, images who are in /public directly: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^(css|js|images)/(.*)$ public/$1/$2…
-
2
votes1
answer3038
viewsDirectory listing of the server appears in the browser
I have on the server installed the Debian, Apache, PHP5 and MySql. When typing in the browser the address of a folder, for example, http://www.dominio.com/api, all folders and files are listed. How…
-
2
votes1
answer573
viewsHow to configure security for dedicated servers and VPS?
I’m having problems with virtualized and dedicated server security settings (VPS). What I need to do to protect my Linux server, with Apache, against major security threats such as rootkits, open…
-
2
votes1
answer1128
viewsRelease subdirectory through . htaccess
How do I release a specific subdirectory (and all its files) via . htaccess? How do I use "friendly url" and through .htaccess I block everything that does not suit, I would like to know how to…
-
2
votes1
answer74
viewsUser created subdomain
I am developing a user area system, when registering, this user will have his area with his subdomain, chosen by him. Doubt: How to do this subdomain registration, and he will not have access to…
-
2
votes1
answer701
viewsAccentuating problems on the most up-to-date server
I have 2 servers with the following settings: Server 1: PHP 5.3.10 Apache 2.2.22 Mysql 5.5.43 Ubuntu 12.04.5 LTS Server 2: PHP 5.6.9 Apache 2.4.7 Mysql 5.5.43 Ubuntu 14.04.2 LTS I’m using the Yii…
-
2
votes1
answer479
viewsWithout apache permission 2.4.9
I created a local server, and when access by 127.0.0.1 I can access, when I enter by my ip, gives this error: Forbidden You don't have permission to access / on this server. I’m in windows 8…
-
2
votes0
answers38
viewsHow do I allow users to use their own domains as their profile URL?
I have a website where every user has a profile with a URL of the type www.site.com/username123. Now, I want to allow each user to use their own domain like www.username123.com that points to your…
-
2
votes0
answers318
viewslocalhost/phpmyadmin error 500
I did the installation of phpmyadmin, it worked correctly, I set up the banks and tested my websites locally. But when I went to turn on the pc again everything works properly, but when I access…
-
2
votes2
answers2244
viewsWhat is the right way to save images to a server?
I know the answer to this question is not exact, but I am asking because of alerts I received from a client’s hosting (media temple - DV Developer) The system I developed saves the images as…
-
2
votes1
answer4332
viewsOpen project with Localhost - Ubuntu
I’ve searched all day and I’ve asked a lot of people for help but I can’t find what I’m really looking for. I need a step-by-step tutorial on how to open a project with apache on Ubuntu. apache2 is…
-
2
votes1
answer3456
viewsHow to configure Log4j to generate a file in the WEB-INF folder with different dates?
I want to generate *.log or *.txt files with different dates (e.g., file-log-22-10-2015.log) within the WEB-INF folder of my Javaweb project I created the log4j.proprieties file as follows:…
-
2
votes0
answers1530
viewsApache does not load PHP module
I’m following this article to configure Apache and PHP: Installing and Configuring the PHP Development Environment - Part 2 I’ve set up the php.ini and httpd.conf besides the DLL php5apache2_4.dll…
-
2
votes2
answers873
viewsApache Commons Email does not send email using Gmail
Click here to open the repository in Maven Repository for Apache Commons Email. I have the following code that receives from a form the recipient, subject and the message: @RequestMapping(value = {…
-
2
votes3
answers7154
viewsHow to hide directory paths in htaccess url?
How to make all site urls shortened by hiding all directory paths? For example: www.meusite.com/models/scripts/arquivo.php www.meusite.com/view/templates/arquivo.php…
-
2
votes0
answers254
viewsCache: How to use mod_headers
I have a server Nginx in a shared environment where it is not possible to enable the max-age because the same is part of the mod_expires, in which it is only available in a dedicated environment. I…
-
2
votes1
answer289
viewsMerge 2 mod_rewrite conditions into . htaccess
About . htaccess and mod_rewrite understanding absolutely nothing! The situation is as follows, I have 2 projects in different areas: This first project uses the condition below that directs the…
-
2
votes0
answers81
viewsHow to restrict external file access by htaccess url?
I’m studying htacess, and found this article (that helped in a lot of things), where it says the following: Let’s say you wish prevent third parties from accessing certain files and folders on your…
-
2
votes0
answers64
viewsError installing libapache2-mod-Passenger on Ubuntu
I am unable to install libapache2-mod-Passenger on Ubuntu. I tried this command: sudo apt-get install libapache2-mod-passenger But returns the following error: Action 'configtest' failed. The Apache…
-
2
votes1
answer61
views.htaccess import another rule file
Guys, I have the following problem, I have an administrative area where can be registered page redirects, and these redirects are saved in the bank, currently I redirect via PHP, but I would like to…
-
2
votes1
answer367
viewsMysql - Foreign key in ON DELETE NO ACTION but runs ON DELETE CASCADE
I’m developing a system using Apache, Hibernate e MySQL. But I’m having a problem during the exclusion of parent entries from a foreign key. The database should prevent deletion, but delete the…
-
2
votes0
answers99
viewsHow to place website online through domain?
Hello guys I’m trying to put a website online through a domain I’ve already created, it already gave me ready FTP settings with a folder so I can upload the files I want. The problem is that when I…
-
2
votes1
answer484
views.htaccess with friendly URL that allows use of the GET method
Hello, my system makes use of user-friendly URL, however Mercadolivre API authentication returns to my system using ?code=XXXX, what I need is for the site to work in a hybrid way, both with the…
-
2
votes2
answers453
viewsChange the home page via htaccess
People when accessing my site apache automatically loads the page index.php. It is possible to change this in the htaccess? I want him to always search the page Login.php.…
-
2
votes0
answers358
viewsProblem when placing Application made in Laravel 5.2 in production
I’m not putting my system into production. I created a Virtualhost in the file http.conf Apache with the following configuration: <VirtualHost *:80> DocumentRoot /var/www/html/dna/public…
-
2
votes1
answer228
viewsHow to allocate a Python (Django) project to a ready and configured server? (Apache, Mysql, Python, Django OK)
I have a server ready and fully configured. Python, Django, Apache, Mysql, all OK. I’d like to replicate an existing project on this server for testing. The files and database are already…
-
2
votes1
answer252
viewsApache in different programming languages
What’s the difference between the Apache server for PHP (Wan) and the Apache Tomcat Web Container?
-
2
votes1
answer1667
viewsApache ISO-8859-1 + UTF8. Is it possible to use both at the same time?
About Apache with PHP in ISO-8859-1 + UTF8. I have two pages in PHP with different encodings, one in ISO-8859-1 and one in UTF8. Is it possible to use both pages with different encodings at the same…
-
2
votes0
answers195
viewsProblems when migrating Cakephp site between servers
I’m trying to migrate the site between servers, but to validate the functioning of the site, downloaded and I’m trying to install on Wamp. I have no experience with the framework Cake. I already…
-
2
votes2
answers174
viewsHow to write the date and time of an error in the Django log?
I started a project on Django 1.4, and every mistake I picked up via try..except I printed on sys.stderr - making it fall into the same Apache log file (error.log). It worked, but only for the…
-
2
votes2
answers1855
viewsWhich is the best version Xampp / PHP , to update and what’s the difference?
I want to update my XAMPP Version: 1.8.3, plus PHP Version 5.5.15, but I have some questions: What is the best version to upgrade, if it is (5.5.38, 5.6.24 & 7.0.9)? Whether this will affect my…
-
2
votes1
answer385
viewsProblems with HTACCES url - 301 redirect does not work on a page
I did 301 redirects of some of the url’s of my site recently and started giving the image problem: My . htacces is like this: RewriteEngine On Options All -Indexes RewriteCond %{SCRIPT_FILENAME} !-f…
-
2
votes1
answer113
viewsLink friendly with htacess
I made some settings in mine htacess. Check her out: Inside of my briefcase www I have a System folder and inside it I have a file called Login.php. I set up forever I type 127.0.0.1 apache always…
-
2
votes1
answer107
viewsApache mod_rewrite
I have a rewrite rule I found in a very old question of the US: RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^(.*/)([^/]+)/([^/]+) $1?$2=$3&%1 [L] RewriteCond %{QUERY_STRING} ^(.*)$…
-
2
votes1
answer61
viewsStarting with . htaccess
Hello; I’m trying to create friendly Urls for a site, but I’m not succeeding in several examples I’ve tried online. I think my problem is in the way I should redirect the structure of my site, I own…
-
2
votes1
answer285
viewsProblems picking up accentuated files on Tomcat 8!
I have the same application on Tomcat 7 and in the Tomcat 8, only in the Tomcat 8 is a problem, I’m src of an image but in the image files it has an "not found" error accentuation, it follows…
-
2
votes2
answers12110
viewsCreate SSL certificate for https use on localhost
I tried some tutorials on the internet to enable https on my localhost and so far I could not do it right, it seems that something is broken, because it appears as a page not safe and the acronym…
-
2
votes1
answer81
viewsHow to change . htaccess Wordpress via FTP
I need to make changes in the . htacces of my wordpress, but I think the file I found is not the correct one. Someone knows where the . htaccess which alter the wordpress pages ?
-
2
votes1
answer1299
viewsConfiguring Tomcat with SSL
I followed the tutorial on the site Tomcat who basically tells you to do two things: Create a . Keystore with password changeit through Keytool.exe. I saved the resultate file in C: Users Vinicius…
-
2
votes1
answer2080
viewsHTACCESS - Subdomain
Does anyone there know how to set up htaccess? I need it to work with the subdomain, and not to show the main domain in the address bar when the subdomain is open. Ex of how you are now:…
-
2
votes1
answer1179
viewsError 404 after configuring SSL in Apache
I have a VPS running Centos 7 and an Apache server, and I have a website running perfectly within the /var/www/html/meusite folder. But this using HTTP. I then decided to generate an SSL to run the…
-
2
votes1
answer724
viewsProblem with conflict between IIS and Xampp
I made the mistake of installing the IIS and now it is giving conflict in localhost:80, I uninstalled, disabled the components and did everything I found on the internet, but it remains in the…
-
2
votes2
answers3258
viewsPoint domain to a Docker container with apache
Talk personal, I’m starting to use Docker, but I still have many questions and one of them is how to point a domain to a specific container. First I created a Container with a php and apache image…
-
2
votes1
answer109
viewsHow to redirect url with query with . htaccess?
I have the following problem, I need to redirect to the following url: site/nossos-socios.php?termo=teste for site/nossos-socios/?q=teste I need you to have the question before q=, I tried using the…
-
2
votes1
answer1888
viewsForbidden 403 apache2 on Ubuntu
Well this is the mistake I’m having with my apache. I changed my apache directory to: /media/marcelo/Arquivos/Google Drive/localhost and this directory has 777 permission. Forbidden You don't have…
-
2
votes2
answers280
viewsHow to block directory files recursively?
I am trying to block all files from a particular directory except for .js , .jpg , .css , .gif , .png. I have this code, but it’s not working the way I want it to: <Files ~…
-
2
votes1
answer2182
viewsHow do I check for errors in Apache configuration before restarting?
Several times I needed to restart Apache after making some settings, I had the dislike of receiving a failure message, because there was an error in the configuration. A colleague here at the site…
-
2
votes1
answer369
viewsHtaccess Login and Password
I’m having a problem, I have a directory of different files type csv, xls, pdf, docx... I wanted that person. h that put in the browser the file link did not have access to it, only those who made…
-
2
votes0
answers81
viewsphp.ini file, 'reset settings' during apache start
I am facing a glitch with Uwamp. Whenever I change settings in the PHP.INI file and restart Uwamp, the settings go back to default. In Xampp or Vampserver, the problem does not occur. The following…
apacheasked 7 years, 5 months ago Pecegueiro 21 -
2
votes0
answers85
viewsHow to configure mysql and apache manually?
I used xamp but it always gave some port problems, so I downloaded and configured apache and PHP manually, but now I don’t know how to configure Workbench and integrate it with apache