Questions tagged as '.htaccess'

1
answer

How to solve error 403 when uploading file using Ajax? (Name with quotation mark)

I have the following problem, I have developed a module for uploading files using ajax + jquery + laravel 5.1, the problem I have is when I try to upload a file with a single quote inside its name, example: name of my mexico file' s.pdf When run...
asked by 07.07.2016 / 18:18
0
answers

Error 500 apache server

Update: here I add the log of server errors [Wed Jun 22 15:44:08 2016] [error] [client 200.232.198.193] ModSecurity: Warning. Pattern match "POST" at REQUEST_METHOD. [file "/opt/mod_security/hg_rules.conf"] [line "148"] [id "9004...
asked by 21.06.2016 / 18:47
1
answer

Routing is lost when the driver loads

I am doing tests with MVC in PHP, and I am having problems when it comes to routing to another controller, by default there is a controller and method (action) assigned in case of not finding what was received. The problem is when including t...
asked by 11.09.2016 / 14:15
1
answer

Redirection 301 with htaccess doubt

Is it possible to do the following redirection through htaccess with logical operators? domain1 / whatever / file.php - > domain2 / foo / file.php being a generic rule? ie for example to redirect all the images of a folder from one serv...
asked by 15.06.2018 / 18:08
0
answers

How to have Friendly URLs with Htaccess?

I want to clean the url in case I send a method get by url and place a simple word like (Data-Sent) **Esta es la URL luego de enviar los datos por GET** #http://localhost/geolocalizacionCibers/Home/Login/?nombre=luis&email=xxx&...
asked by 02.01.2019 / 13:28