homepage Welcome to WebmasterWorld Guest from 54.167.138.53
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Apache & Nginx
yaashul

5+ Year Member



 
Msg#: 4560979 posted 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

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 4560979 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved