I
I
ildar r. khasanshin2017-02-13 08:40:05
phpstorm
ildar r. khasanshin, 2017-02-13 08:40:05

How to setup .htaccess in phpstorm?

now a space is not added after # in .htaccess - how to set it up?
there is no apache config (.htaccess) in code style

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergey, 2017-02-13
@zorro76

The question is not clear at all, what is not added where?
What for #?
Here is an example code on one of my projects:

FileETag MTime Size
<ifmodule mod_expires.c>
<filesmatch ".(jpg|jpeg|gif|png|ico|css|js|woff)$">
ExpiresActive on
ExpiresDefault "access plus 1 year"
</filesmatch>
</ifmodule>

<IfModule mod_setenvif.c>
BrowserMatch "MSIE" force-no-vary
BrowserMatch "Mozilla/4.[0-9]{2}" force-no-vary
</IfModule>

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
Header append Vary User-Agent
</IfModule>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question