converting apache rewrite rules to nginx

Posted by Muktadir Miah on Server Fault See other posts from Server Fault or by Muktadir Miah
Published on 2012-10-20T22:03:46Z Indexed on 2012/10/20 23:04 UTC
Read the original article Hit count: 185

Filed under:
|
|
|

Hello everyone, I am trying to create a UDID protected Cydia Repo but I cannot use it on nginx because of nginx does not use the .htaccess file. The file certain rewrite rules to make it run. Here are a copy of the Repo: https://github.com/ic0nic/UDID-repo Below is a copy of the .htaccess file.

RewriteEngine On

RewriteBase /your_repo_folder/
RewriteRule ^(Release)$ release.php
RewriteRule ^(Packages.*)$ package.php

© Server Fault or respective owner

Related posts about php

Related posts about nginx