HipHop Virtual Machine HHVM – htaccess file compatibility

Home Forums BulletProof Security Pro HipHop Virtual Machine HHVM – htaccess file compatibility

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20995
    Krzysztof
    Participant

    I have read a lot of good things about HHVM. The thig is – will BPS Pro work with it? All the staitments claim that it is much faster and cuting a few mili seconds here and there is always good for webpage đŸ˜‰

    #20997
    AITpro Admin
    Keymaster

    Judging by the help info on the site I think the only problem would be that HipHop Virtual Machine does not support any of the Apache server htaccess directives or it uses its own rewrite method that does not have anything to do with Apache htaccess code/rules/files.  I only quickly looked around the Internet, but I get the sense that you would use HHVM in a similar way you would use Nginx or an Nginx Reverse Proxy.  Something like this:  use apache/nginx at the front-end and proxy to the HipHop server.

    #21000
    AITpro Admin
    Keymaster

    I came across this site that has some info on how to get WordPress rewrite rules|htaccess code to work correctly on HHVM:
    https://dantalion.nl/wordpress-apache-hhvm/

    Many apache configurations use rewrite rules, WordPress uses them by default. To enable rewrite rules add:
    RewriteRule ^(.*)\.php$ http://127.0.0.1:88/$1.php [L,P]
    ProxyPassReverse / http://127.0.0.1:88/s

    #21012
    Krzysztof
    Participant

    I think that it will be easier to wait for php 7.0 and hope that they will release it arround the end of the year.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.