Questions tagged as 'htaccess'

1
answer

Url rewrite does not work on https

I have the following problem: My .htaccess defines my URL rewrite that works perfectly when accessed by http but when accessed by https it informs that the page was not found. Below is my .htaccess. AddDefaultCharset UTF-8 RewriteEngine on R...
asked by 25.02.2015 / 14:32
1
answer

Defining route controllers in Codeigniter directories

I have a lot of controllers in my project, so I split the controllers into folders, site in the site folder, admin in the admin folder (within controllers ). But I can not access the drivers without having to put the base of their folder in...
asked by 19.11.2014 / 05:16
1
answer

Cakephp problems with .htaccess

I did the project publishing, it ran correctly, however, the other projects that were in the root stopped working, I checked and from what I noticed the problem is in the .htaccess, which is so at the moment: php_value date.timezone 'America/S...
asked by 21.08.2014 / 04:31
0
answers

Problems with creating friendly URLs

I researched a lot about friendly URLs. I've put some instructions to handle some pages - some static and some dynamic, however, still not working properly. Follow below: The home page displays a listing of the posts saved to the database. Th...
asked by 02.01.2019 / 19:13
1
answer

Redirecting pages with .htaccess php

I would like to know if you have as .htaccess, do the following redirect: Url: link and link When the user types or sales or admin he redirects to the page: link     
asked by 30.11.2018 / 11:10
1
answer

.htaccess select file and not the folder

I have in the root of the site the .html files "index, services, gallery and contact". I also have a folder that is called "services". I'm trying to use this code to leave url's friendly: RewriteEngine On RewriteCond %{REQUEST_FILENAME...
asked by 10.12.2018 / 23:59
1
answer

Symbolic link in application Laravel

I'm deploying a Laravel application to a server, and I'm having trouble creating a symbolic link: The server public files are in the raiz/public_html The public files of laravel are in the path raiz/aplicacao/public I'm tryi...
asked by 14.11.2018 / 13:15
0
answers

Changing the project root directory through the .htaccess file

I have a server with a presentation portfolio done in html, css and javascript. All files in this portfolio are in the public_html folder and can be accessed by the server address 'server.com/'. However I developed a system in PHP and put it in...
asked by 20.11.2018 / 02:59
0
answers

Rewriting rule not to break files of type .map

How to make a rewrite rule so that all files (examples): /js/arquivo.teste.map /css/arquivo.diferente.teste.map /y.diferente_123.map Do not exist with .map extension to be rewritten to a single file type:    /webapp/css/404.map I t...
asked by 06.11.2018 / 16:15
0
answers

Url .php friendly Opencart

I would like to know how to convert a url such as status.php to just status in Opencart, I know there are modules to make urls friendly, but they are only for native urls, it takes the created routes and converts them , the solution I can think...
asked by 31.10.2018 / 23:56