Questions tagged as '.htaccess'

1
answer

Is this loop safe to protect my system using php?

I am trying to block access to my page a bit and I have already managed to do it for hours using this script. date_default_timezone_set('America/Manaus'); $hInicio = 17; // Está en 24 hrs $hFin = 7; $h = date("G"); // Hora actual en 2...
asked by 26.04.2018 / 22:08
0
answers

Problems with My .htaccess file and the friendly URL

In my systems I am implementing this from the friendly URl since it seems unprofessional to see the extensions of the files and the variables that are passing through $ _GET, I have already managed to remove the extensions of the files by means...
asked by 24.04.2018 / 16:28
0
answers

Retrieve original value of a chain already converted to friendly url

I am making a friendly url through the "title" fields of each table, for example Home, The art of writing, Web development that using this function for the friendly url would look like this: <?php function seo_url($cadena){ $cadena= u...
asked by 23.03.2018 / 15:48
1
answer

Create friendly URL so that the name of the file does not appear

How can I configure the htacces file so that the URL of my website is not www.dominio.com/index.php, but only www.dominio.com, it is a static website with no internal pages.     
asked by 22.03.2018 / 01:20
1
answer

Redirect 301 works locally but not on the server

I'm having problems with htaccess again. Working in local work for me without any problem, but in the server does not redirect me well. For example, having this old URL: https://www.laxtore.com/Juegos/Xbox-One/37/EA-SPORTS-FIFA-17/ I sho...
asked by 03.03.2018 / 21:29
0
answers

Heroku with .htaccess

Please help me with this problem. I upload a project in heroku using MVC in PHP but, it does not work correctly because it does not read .htaccess files which allows me to configure the friendly url I want to know if you can configure heroku to...
asked by 23.02.2018 / 18:33
1
answer

htaccess - remove? param =

I have this URI: www.miurl.es/productos/producto/nombre?medidas=90x180 I would like to get through .htaccess to have this type of url: www.miurl.es/productos/producto/nombre/90x180 but I can not get it through htaccess. I have looked at some...
asked by 15.02.2018 / 19:11
1
answer

Redirection of cgi-bin in .htaccess

In my project I have some urls with the following format xxx/cgi-bin/index.pl/c/10/yyy/ where, xxx is the web address. I would like the cgi-bin/index.pl route to appear in these urls. I have been testing different config...
asked by 29.11.2017 / 15:03
1
answer

can the domain name be masked with .htaccess?

I am working on a project and I wanted to know if I can mask the name of the domain by another one (which is not yet hired -it does not exist-). Example: Online domain of the web: example.com Domino to show: example2.com (without it existi...
asked by 18.11.2017 / 19:24
1
answer

What actions should be implemented to improve security in Symfony?

I have developed an application in Symfony, with which I have no functional problems, more if in security according to some suggestions of infrastructure coordination. The point is that from the production server you can access the base direc...
asked by 10.11.2017 / 18:46