homepage Welcome to WebmasterWorld Guest from 107.21.163.227
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Apache & Nginx
yaashul




msg:4560981
 1:52 pm on Apr 3, 2013 (gmt 0)

Hi,

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?

 

phranque




msg:4568505
 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved