Nevermind, I got this figured out. It was working all along but the pages were being cached by the boost module for drupal. Thanks for the help!by jelson41 - How to...
That doesn't redirect for me either.by jelson41 - How to...
Also, wont the example you posted redirect all pages at /tech/ to /tech even if we have 50 different files in that directory? We only want to redirect the one file index.shtml2by jelson41 - How to...
Thanks for the information Andrew. I really appreciate it and will look into that. Is there no way to use the "rewrite" option to accomplish what I'm trying to do while I investigate the "location" option?by jelson41 - How to...
Why should we avoid rewrites? We literally have hundreds of these we need to do and have already done hundreds of others that include file names. Thanks in advance!by jelson41 - How to...
Hi, We are trying to rewrite specific pages to specific directories and it isn't working properly. I was wondering if somebody could assist. Here is an example of what we are trying to: #1 This doesn't work when redirecting to a directory (/tech): rewrite ^/tech/index.shtml$ http://www.site.com/tech/ permanent; #2 This does work when redirecting to a specific file (index2.shtml) rewriby jelson41 - How to...
And finally a copy of /etc/nginx/conf.d/virtual.conf which is included from the above nginx.conf: # # A virtual host using mix of IP-, name-, and port-based configuration # #server { # listen 8000; # listen somename:8080; # server_name somename alias another.alias; # location / { # root html; # index index.html index.htm; # } #} sby jelson41 - How to...
Here is a copy of our nginx.conf: ####################################################################### # # This is the main Nginx configuration file. # # More information about the configuration options is available on # * the English wiki - http://wiki.nginx.org/Main # * the Russian documentation - http://sysoev.ru/nginx/ # #######################################################by jelson41 - How to...
Here is a copy of our php-fpm.conf: <?xml version="1.0" ?> <configuration> All relative paths in this config are relative to php's install prefix <section name="global_options"> Pid file <value name="pid_file">/var/run/php-fpm.pid</value> Error log fileby jelson41 - How to...
Hello Gurus, I've taken over a project in which we are trying to get at least 5,000 - 10,000 concurrent users accessing our custom application. We are using apache, but it seems to cripple right around 1500-2000 users, so we are looking at nginx. We are stuck using php 5.2.17 due to an old module, so php 5.3 isn't an option right now. Can anybody help with the configuration files for both nginxby jelson41 - How to...
Figured this out for anybody that comes across this. I changed the rewrite line to this: rewrite ^/go/.*$ /? permanent; Now it redirects to www.oursite.comby jelson41 - Migration from Other Servers
We have some old URL's all over our website in the following format that we are trying to just redirect to the home page as they are giving page cannot be found errors: http://www.oursite.com/go/base?id=XXX (XXX is a different set of letters in each URL and there are hundreds of them) How would I go about redirecting something like this to the home page. I've tried this so far: rewrite ^/by jelson41 - Migration from Other Servers