Questions tagged as 'apache'

1
answer

Block access to a URL or system folder path

Hi, I'm trying to block administrative access from my site and release it for only a few ips. I can do this using the .htacess well quiet but the problem is that I have the adminstrative module and the module frontend and .htaccess...
asked by 21.12.2015 / 12:10
1
answer

Nginx with PATH_INFO and url rewritten (friendly)

I created a .htaccess in the /var/www/project/ folder: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(statics/([a-zA-Z0-...
asked by 04.05.2015 / 01:20
1
answer

Apache server does not execute .php files [closed]

I just installed Apache and PHP in my linux, and all my .php files are showing this following error log:    [Sat Mar 07 12:10:48 2015] [error] [client :: 1] PHP Warning: Unknown:   failed to open stream: Permission denied in Unknown on line 0...
asked by 07.03.2015 / 16:35
2
answers

Running Silex on the shared provider

I just uploaded a site to Locaweb in a simple and shared Linux hosting, but for a change it did not work. I suppose this is because the index is not in the root of the site, but in the public folder. Question: How do I make the index w...
asked by 24.02.2015 / 23:47
1
answer

Error in the end bar with mod_rewrite and mod_jk

I have the following structure on my server. Apache HTTPD (port 80) Tomcat (port 8080) I used mod_jk to make the connection between apache and tomcat and this is working perfectly. I created a subdomain to point to an applicat...
asked by 29.01.2014 / 19:28
2
answers

Limit users in a PHP application

Hello, Developed a system in php controlled by Sessions .. I checked that you can limit the maximum number of online users on the system via apache (httpd.conf). Is there any function (ajax, javascript, php) that I can limit to 05 concu...
asked by 09.12.2017 / 13:49
0
answers

PHP (permission level on the server)

I created an application in php that uploads files (PDF, images and JSON) that works correctly on my PHP 5.2.17 server, but on the client server, the application only works if I change the permission of the site folder to 777. On my server I...
asked by 14.04.2018 / 05:33
1
answer

How to redirect to a folder and HTTPS at the same time?

I have a site link which is a CNAME from link , where the hosted site is hosted. But I needed to be redirected to the meusite folder of my amazon machine, ie link , but keep it only visible link . I got this with this answer: l...
asked by 23.01.2017 / 13:29
0
answers

Redirection problem

I'm creating an application in node.js using admin expression to manage the data. It ran great as locally, but when I put it on the Apache server redirection for login gives error. In case, when I was to http://localhost/sales/admin...
asked by 17.01.2016 / 03:58
0
answers

How to simulate https in http: // localhost? [closed]

How can I simulate link in Xampp so that it returns me to the url showing if everything is ok or is there security holes in the scripts used?     
asked by 31.10.2015 / 14:21