- Where Developers Learn, Share, & Build Careers


I am trying to get a PHP application based on the Kohana framework working on a Linux server.

There is a problem in my .htaccess or application (not yet known) which is blocking the use of beautiful URLs. When I was debugging, I found it in my $ _ server array:

  print_r ($ _ SERVER); ... [REDIRECT_KOHANA_ENV] = & gt; Output ...   

In my .htaccess file, there is only one line to set the environment variable:

  set envine kohna_nv production  < / Ex> 

And I'm also making a redirection:

  revised rule ^ (fr | en) / (this | he) /? ([^ /] *) $ / Indix.fpp / $ 1 / he / [nc, ksa, l]   

Does anyone know how it is REDIRECT_KOHANA_ENV code?

Is this something $ _ SERVER ['REDIRECT_REMOTE_USER'] ?

It seems that this is something in your htaccess it is due to some rewrite on HTX There are some details on the description and REDIRECT _ constants in $ _ server :



Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -