Questions tagged as '.htaccess'

3
answers

301 redirect htaccess /% E2% 80% 8E

I am not able to redirect a www.miweb.com/%E2%80%8E to www.miweb.com I tried htaccess: Redirect 301 /%E2%80%8E http://www.miweb.com Php $cadena = 'http://www.miweb.com/%E2%80%8E'; if(preg_match('/\/%E2%80%8E/', $cadena)){ header( "...
asked by 01.07.2016 / 11:54
1
answer

Problems with .htaccess on godaddy server

The problem is as follows: I have a webservice in which I redirect all requests to index.php with .htaccess the code of .htaccess I'll leave it here RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{...
asked by 27.05.2018 / 16:24
1
answer

Problem redirecting the / slash at the end (/) .htaccess

The url of the product categories end in / But the products themselves do not, so when adding this rule: # si no existe un archivo que coincida con la solicitud... RewriteCond %{REQUEST_FILENAME} !-f # y si no termina con una barra, re...
asked by 02.03.2018 / 16:39
1
answer

Configure .htacces to access a file?

I have a symfony project in my root directory, and I have the following lines in my .htaccess <IfModule mod_rewrite.c> RewriteCond %{HTTP_HOST} ^mipagina.mx$ [OR] RewriteCond %{HTTP_HOST} ^www.mipagina.mx$ RewriteRule ^(.*)$...
asked by 26.02.2018 / 19:27
2
answers

Redirects when going from HTTP to HTTPS

This week I intend to acquire an SSL license, and I am quite respected for not knowing exactly what the process is. I have already asked my hosting provider with whom I have also hired the domain and I just have nothing clear about the process t...
asked by 19.06.2017 / 20:16
1
answer

htacces apache v2.4

I have a .htaccess file of prestashop, with the following content: <FilesMatch "\.tpl$"> Deny from all </FilesMatch> The issue is that this file seems to give problems with the new version of apache v2.4 (which provides m...
asked by 14.06.2017 / 16:26
1
answer

.htaccess WINDOWS SERVER

I have a PHP project with the following .htaccess RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?PATH_INFO=$1 [L,QSA] But now I want to mount my project on a server Wind...
asked by 01.08.2016 / 17:46
0
answers

URL mapped does not allow ajax to find the resource

Help, I have a file structure in mvc for php, and everything that is written in the url goes through the public / index.php folder. which accesses the folder app / iniciador.php which loads the classes with the views, drivers and models. The...
asked by 05.12.2018 / 15:23
1
answer

Security deploy API Laravel

I have an app made in Laravel only to consume in REST but how do I do it so that there are not public files and sensitive routes like / storage or composer.json until .env? What good practices do you recommend, if .htaccess is a good idea or not...
asked by 13.04.2018 / 00:36
1
answer

.HTACCESS and Redirecting to new domain with conditioning

I have a WordPress web portal hosted on a professional server that responds to URLs: www.portalweb.subdominio.cu www.portalweb.cu This is due to a reverse proxy. I managed to redirect the traffic with .htaccess, but I have not achiev...
asked by 17.02.2018 / 19:19