eZ Community » Forums » eZ Publish 5 Platform » Default .htaccess file refinement
expandshrink

Default .htaccess file refinement

Default .htaccess file refinement

Thursday 12 December 2013 12:45:01 pm

Hi,

I just want to share this with people who could encounter the same problem. It may seems obvious for some people, it wasn't for me at the first time happy.gif Emoticon

This is what my front page looks like after a fresh install of eZ Publish 5.2 

http://s23.postimg.org/bqij7f3zv/e_Z_Publish_5.png

I add these lines to the default .htaccess to make things work properly :

RewriteRule ^css/.* - [L]
 RewriteRule ^js/.* - [L]
 RewriteRule ^bundles/[^/]+/(css|images|js?)/.* - [L]

I also add this line to be able to use the dev environment

RewriteRule ^index_dev\.php - [L]

This way I can access mysite.dev/index_dev.php. If I don't, eZ Publish shows a kernel error page.

Modified on Friday 13 December 2013 2:23:28 pm by Julien Huon

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from