Questions tagged as 'htaccess'

2
answers

not case-sensitive in URL

In my page, I have several images and the form that is written in the path is uppercase and minuscule, for example, <img src="imagens/ImagemSistemaDepartamento.JPG"> I needed somehow that .htacess read my code and independ...
asked by 10.11.2015 / 11:39
1
answer

Escaping .php extension through the .htaccess file

I'm using the following code on a web server, from hostgator, but I can not hide the .php extension. How do I resolve this? RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$...
asked by 13.01.2016 / 18:10
2
answers

Error 500 on server- Invalid URL

Whenever I have access to a URL that does not exist on my site, this error appears    The server encountered an internal error or misconfiguration and was   unable to complete your request. Is there any way to customize this error message...
asked by 05.11.2015 / 14:46
1
answer

Slim Framework Page Not Found / Apache2

I'm using the Slim Framework managed by Composer > and typing in the URL http://localhost/app causes a 404-Not Found error, if I type http://localhost/index.php/app it works. What have I done? Add AllowOverride All...
asked by 17.09.2015 / 23:07
1
answer

How to modify the view path with htaccess

I'm creating a htaccess to redirect the URL, for example: I have the following URL: www.site.com.br/view/html/cliente.html www.site.com.br/view/html/relatorio/demonstrativoDeDebito.html I would like it to stay that way...
asked by 26.06.2015 / 22:19
1
answer

Release access to folders in .htaccess

First of all I want to say that I have already researched here on the stack and none of the examples helped me. But if you think it is duplicate please indicate the solution link. I have set up a .htaccess application for ZEND 1.12 in an appl...
asked by 28.04.2015 / 18:38
1
answer

You can get the error number returned by the page

I created a page (following the one taught in this page / a> error) for Error 404, but in this way it would have to make an error page for each HTTP Status, so I would like to do a webpage where it would be possible to get the possible HTTP he...
asked by 22.04.2015 / 16:50
1
answer

Problems with .htaccess in Lampstack

I have the following problem. I have a website that uses htaccess. I work locally on the website and it works normally, all redirects work perfectly. When I went to upload my application to the ratification server (an Amazon ec2 with Bitnami...
asked by 22.10.2014 / 19:30
1
answer

Using Codeigniter inside Wordpress

I'm working on a blog in which within a specific page it has an iframe that points into the server itself, calling a folder containing CodeIgniter running. Until a few days everything worked, this on the old server. I had to switch servers an...
asked by 03.06.2014 / 20:43
2
answers

how to prohibit direct access to index.php file and index.php /

Hello, I am using url friendly, which is working very well, however I want to prohibit access to the file index.php and index.php/ , I want that when accessing them it is redirected to the page home.php How do I do this...
asked by 19.12.2018 / 19:09