# Move old apache project

**URL:** <https://www.ruby-forum.com/t/move-old-apache-project/242347>\
**Category:** NGINX\
**Created:** [June 17, 2015, 12:16pm UTC](https://www.ruby-forum.com/t/move-old-apache-project/242347 "2015-06-17T12:16:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [June 17, 2015, 12:16pm UTC](https://www.ruby-forum.com/t/move-old-apache-project/242347/1 "2015-06-17T12:16:59Z")

</div>

HI again, guys. I have another trouble with own old projects basec on  
large  
htaccess rewriet rules.  
That’s my configuration [server { root /home/www/projects/dechko; index index.html index.htm index.ph - Pastebin.com](http://pastebin.com/7JCmiaSm) in server block for  
one  
site, and everything work fine except when open url without “index.php”  
there. Nginx return me “Access denied”, and i can’t understand why.

Posted at Nginx Forum:

> **[Move old apache project](https://forum.nginx.org/read.php?2,259684,259684#msg-259684)**
>
> HI again, guys. I have another trouble with own old projects basec on large htaccess rewriet rules. That's my configuration http://pastebin.com/7JCmiaSm in server block for one site, and everything work fine except when open url without...

---

<div class="post-metadata">

**Author:** ![Replace](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@Replace](https://www.ruby-forum.com/u/Replace)\
**Post date:** [June 17, 2015, 12:43pm UTC](https://www.ruby-forum.com/t/move-old-apache-project/242347/2 "2015-06-17T12:43:52Z")

</div>

Sorry, i find out 🙂 Add these missing params in php-fpm configuration  
and  
work like charm

fastcgi\_param SCRIPT\_FILENAME $document\_root$fastcgi\_script\_name;  
fastcgi\_param SCRIPT\_NAME $fastcgi\_script\_name;

Posted at Nginx Forum:

> **[Re: Move old apache project](https://forum.nginx.org/read.php?2,259684,259685#msg-259685)**
>
> HI again, guys. I have another trouble with own old projects basec on large htaccess rewriet rules. That's my configuration http://pastebin.com/7JCmiaSm in server block for one site, and everything work fine except when open url without...
