Questions tagged as 'htaccess'

1
answer

Turn these Web.config rules into .htaccess

Good evening, I need to pass these parts of a web.config to .htaccess, but I am pretty sure. <rule name="Regla 1-1"> <match url="^camera/pictures/(.*)_small\.png$" ignoreCase="false" /> <action typ...
asked by 03.07.2017 / 06:15
1
answer

.htaccess does not work rule

Would it be like getting my urls like this? produtos/nome-categoria ptodutos/nome-categoria/nome-subcategorias I am not able to do this, look how I am doing the rule in .htaccess <IfModule mod_rewrite.c> RewriteEngine On #aqui...
asked by 30.06.2017 / 16:35
2
answers

url friendly category subcategory

With the category working more like I put the subcategory too? produtos/nome-categoria/nome-subcategoria <IfModule mod_rewrite.c> RewriteEngine On #aqui criamos uma condição para que os arquivos sejam ignorados nas regras abaixo...
asked by 29.06.2017 / 21:18
0
answers

Multiple Framworks within a separate domain in folders

I have a framework, where I want to split it into several frameworks (MVC) per folder at the root of the domain. In the domain root I do not have any files, there are folders where I have a file in the root of each folder a .htaccess like...
asked by 01.07.2017 / 14:12
0
answers

Problems with .htaccess

asked by 13.06.2017 / 00:00
1
answer

Sitemap.php for Sitemap.xml

Can anyone help me? I made a "sitemap.php" file all ok, only I want it to be accessible in "sitemap.xml" too. My .htaccess; <IfModule mod_rewrite.c> DirectoryIndex index.php RewriteEngine on RewriteCond $1 !^(index\.php|im...
asked by 24.06.2017 / 18:02
1
answer

How to retrieve GET variables after it has been modified by .htaccess RewriteRule?

I have the following rule in .htaccess RewriteRule ^acesso-erro/(.*) proc_error.php?error=$1 [L] This rule retrieves the variables from the URL and places a variable "error". How can I retrieve this variable from the proc_error.php pag...
asked by 07.06.2017 / 20:05
1
answer

Change url via .HTACCES

Sehores, good afternoon. I need to change my homepage to be a subfolder. I added the following code in my .htaccess file, but only worked for url without www , ex: dominio.com.br , redirects to dominio.com.br/webstore (corre...
asked by 29.05.2017 / 21:45
1
answer

Replace characters from a URL via .Htaccess

I have the following URL template: http://dominio.com.br/cgi-bin/wiki.pl?Palavra http://dominio.com.br/cgi-bin/wiki.pl?Outra_Palavra I need to redirect to this new template: http://dominio.com.br/#Palavra http://dominio.com.br/#Outra_Pala...
asked by 21.05.2017 / 01:03
1
answer

Hide domain directory using htaccess

I need to hide the directory of url . How it works: www.meusite.com.br/Site/view/telaInicial.php How do I: www.meusite.com.br/telaInicial.php My current .htaccess : RewriteEngine On RewriteCond %{REQUEST_FILENAME}...
asked by 10.05.2017 / 16:16