Questions tagged as 'htaccess'

1
answer

LINK lock with HTACCESS

I need to block a link just inside a server, how would it be with HTACCESS? If there is any way. Thank you.     
asked by 26.01.2016 / 11:13
1
answer

.htaccess directing everything from the URL to the index.php

I picked up a panel for maintenance and developed a new panel in codeigniter . Once created, I created a folder on the server named adm and threw all the files there. The problem is that the root folder (before adm ) has a .htaccess...
asked by 23.11.2015 / 20:17
1
answer

.HTACCESS doubts (special mod_expires)

I would like to understand better how this module works, in particular I leave as an example what is in the Root folder of one of the sites I manage: <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 month" Expires...
asked by 02.11.2015 / 00:12
1
answer

Change access url as ip on htacess

I have a system that is all set with the address fixed in the code, for example: 'site.producao.com.br', and is in ip 10.109.104.27, however the development server is in link on ip 10.108.105.59. Is there a way in htacess to make if ip is d...
asked by 13.07.2015 / 15:47
1
answer

Configure Apache2 with PHP 5.6 to use FuelPHP

Well come on, I use ubuntu , php5.6 , apache2 , mysql-server %% FuelPHP . And while I'm using the% xampp that can certinho run my applications (however I have to start him always and he will not let me log in with more than one user). So I...
asked by 12.06.2015 / 17:15
1
answer

Laravel - 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 that it is not matching the URL. It's strange because the error below says that public index.php was not found, and if...
asked by 06.05.2015 / 15:11
1
answer

Subdomain redirection in .htaccess

I'm trying to do a subdomain redirect in .htaccess as follows: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{HTTP_HOST} !^testephp\.com\.br RewriteCond %{HTTP_HOST} ([^\....
asked by 15.01.2015 / 20:18
1
answer

How to remove "/" from the end of a server folder?

It's as follows: I have a contact folder on my site, which appears like this: www.mysite.com/contact/, and how do I get it to appear on www.mysite.com/contact? But it has to be just for the briefcase. Thank you.     
asked by 04.12.2014 / 22:20
1
answer

Problem in Url Friendly

I'm here with another problem regarding this line RewriteRule ^([a-zA-Z-0-9-_]+)$ index.php?controller=estabelecimentos&option=tipo&tipo=$1 [L] Hardware htaccess RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_F...
asked by 11.02.2015 / 17:33
1
answer

Disregard HTTP authentication for a particular URL

I have an application developed in CakePHP 2 , but I believe that the issue does not have as much involvement with the framework itself, just citing to contextualize. As this private application, basically a webservice for accessing data w...
asked by 03.12.2014 / 15:51