| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe and Support WebmasterWorld|
|Apache & Nginx |
| 1:52 pm on Apr 3, 2013 (gmt 0)|
I recently asked my webhost i.e. rackspace to install nginx on my server and ask him to setup it like that. For static content use nginx for dynamic (php etc...) use apache.
Now I have few question for which I am not able to find answers anywhere so I thought I shud ask here with ppl who know how make things work.
My questions are:
1. will .htaccess continue to work? I mean nginx will ignore it or apache will use it.
2. redirection of php files. Do I need to setup redirection according to nginx or according to apache?
| 2:34 pm on Apr 27, 2013 (gmt 0)|
it is most likely that nginx is being used as a reverse proxy for the apache server and to cache static content from the apache server.
|1. will .htaccess continue to work? I mean nginx will ignore it or apache will use it. |
the apache configuration will remain as before
|2. redirection of php files. Do I need to setup redirection according to nginx or according to apache? |
nginx will be configured for a proxy pass, which is different from a redirect.
it's more like an internal rewrite, but to another server.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved