Questions tagged as 'htaccess'

1
answer

htaccess constraints

I would like to clean my url so the user will not see it, I searched the internet but could not get it to work. I've already activated the bookstores in my wamp but could not get it to work properly. www.meusite.com.br/index.php?p...
asked by 17.12.2015 / 11:47
1
answer

dynamic url url

As I do for my url that is like this: detalhe.php?cat=1 stay type so detail / television my .htaccess : RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^(.*)$ index.php?ur...
asked by 29.10.2015 / 13:14
1
answer

What language is used in Apache's ".htaccess" file?

For example the following lines represent which language: RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*)$ index.php?uri_path=$1     
asked by 17.11.2016 / 20:47
1
answer

Block direct access to files and directories

Well, my question is simple: How can I block direct access to files and directories on my site? For example, prevent the user from accessing the link: www.meusite.com/img and get the list of images, or /js and get the JS files,...
asked by 26.07.2016 / 15:50
1
answer

htaccess for web.config

I moved my site to the Windows Azure platform and their server is IIS and my old one was apache so the routes configured in htaccess are not working, I need to know how to convert this: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-...
asked by 27.06.2014 / 15:34
3
answers

How to rewrite a URL?

Hello, I want to rewrite a URL and I know it needs to be .htaccess . I have this URL : www.nomedomeusite.com/visualizar?id=8 My page visualizar.php at the beginning of body takes this id and makes a...
asked by 22.03.2017 / 03:43
1
answer

How to block HotLinks from images with warning?

Soon I saw a site that was displaying an image hosted on another site, at least trying .. What happens is that the site that was linking the image of others came to appear a new image instead of the desired image. / p> The new image consisted...
asked by 09.02.2016 / 23:14
2
answers

Doubt regarding the https protocol

I'm setting up an Apache server in Debian. When I access https://.../index.php from Chrome, I get the following result: Somyquestionsare:Toappear: DoInecessarilyneedapaidcertificate,oristhereanotherpath? In order to not display th...
asked by 03.08.2017 / 18:17
1
answer

dynamic url url

As I do for my url that is like this: detalhe.php?cat=1 stay type so detail / television my .htaccess : RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^(.*)$ index.php?ur...
asked by 29.10.2015 / 13:14
2
answers

301 redirect out of domain with htaccess

I have a www.dominio1.com.br domain that points to the root of my site and another www.dominio2.com.br domain configured as a redirector for www.dominio1.com.br/novo . However, I would like the url to continue to see www.d...
asked by 02.03.2015 / 01:51