Questions tagged as 'htaccess'

0
answers

Rewrite .htaccess not working

Im trying to write a RewriteCond, but is not working ... Anyone can help me please? I have 2 websites, one is www.activecard.pt and its working properly, the other is www.accurex.pt which is not working ... Here is a sample of my .htaccess...
asked by 11.03.2018 / 17:15
2
answers

Htaccess that directs to https and also to www

I need that when the user accesses with http is directed to https and when it accesses without www redirects to access with www, follows doubts below: I'm using the following code in .htaccess: <IfModule mod_rewrite.c> RewriteEngine...
asked by 09.01.2018 / 14:26
0
answers

How to remove htaccess redirect to the public folder

The settings for my htaccess to force SSL are as follows: # NA PASTA RAIZ Options -Indexes <IfModule mod_rewrite.c> <br> RewriteEngine on<br> <br><br> RewriteRule ^$ public/ [L] <br> RewriteR...
asked by 05.03.2018 / 23:59
0
answers

Wamp sitem in PHP with .htaccess problem for local access

I'm trying to host a page locally that has a .htaccess and I can not configure it to work locally. Someone help me: # BEGIN WordPress #<IfModule mod_rewrite.c> #RewriteEngine On #RewriteBase / RewriteCond %{HTTP_USER_AGENT} (bot|goog...
asked by 22.02.2018 / 21:23
0
answers

How do I enable resource compression with gzip or deflate on my site?

I can not enable resource compression with gzip or deflate on my site. In the server the option is already enabled and in the .htaccess also, only page speed still says that compaction gzip is not enabled.     
asked by 20.02.2018 / 18:52
0
answers

Friendly URL with TimThumb

Today, I use this rule to create friendly URLs and use MVC in my projects: RewRiteRule ^(.*)$ /index.php?url=$1 [QSA,L] In case, I use TimThumb to generate cached images in PHP, and it returns me a URL, for example:    link How wou...
asked by 08.02.2018 / 13:12
0
answers

Access to suspicious URLs

Hello; I am retrieving a wordpress site that had been hacked, damaged and had several files altered with suspicious codes. Apparently now everything is clean and secure in the files, however, I still receive hundreds of requests with suspicio...
asked by 08.02.2018 / 12:54
0
answers

.haccess does not work correctly on wamp

I decided to abandon XAMPP and go to Wamp yesterday. Today I needed to configure the .htaccess of my application, and, to my surprise, it seems that the file does not "save" the changes. I'm running the Wamp almost "clean". The only change I...
asked by 08.02.2018 / 17:49
1
answer

Disable mod security on a page

Hello I have a textarea in a form that will receive an iframe from soundcloud, problem is that when the user submits the page is returning error 403 Forbidden. I believe mod security is blocking the iframe. When we deactivated the server's mod s...
asked by 29.01.2018 / 14:19
0
answers

Zend Frameworker 2 and Service Worker

Hello, I'm trying to put a service worker in my zf2 project and I'm not getting it. Anyone who works with zf2 knows that the entire project runs from the public folder and so that the public name does not appear in the url a configuration is made...
asked by 22.01.2018 / 13:40