jsHate
jsHate

Reputation: 599

Google app engine redirect everything to index.php

I need to redirect everything to index.php

the old script on shared hosting has followng htacess

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php/$1
</IfModule>

and yes Im too noob to work out how to do this in google app engine(

Upvotes: 1

Views: 1309

Answers (1)

MuhammadBassio
MuhammadBassio

Reputation: 1570

Add the below to your app.yaml , this should do the trick :)

handlers:
- url: /.*
  script: index.php

Upvotes: 3

Related Questions