Posted by rahim123 on June 29, 2013 at 4:12am
Hi everyone,
I just started using XCache, which comes with an HTTP admin interface. I can't figure out how to make this work with Nginx+PHP-FPM and Drupal6+Boost with the Perusio config. I tried setting it up in a subdomain, but it just keeps redirecting it to my Drupal site running on the TLD. I don't really care if it's a subdomain or subfolder, but I'd really appreciate a quick tip on how to make it work.
Thanks a lot!
Comments
It might be easier to help
It might be easier to help you if you post your configuration.
Hi bhosmer, thanks for taking
Hi bhosmer, thanks for taking a quick look. Here's my nginx/sites-enabled conf file for the working Drupal site:
http://pastebin.com/aJyQPmW6
The rest is all standard Perusio config wizardry. :)
I have the Xcache admin interface with the index.php in /var/www/xcache-admin. I'd prefer to keep it out of the Drupal root, if possible.
Thanks again!
Prefix some locations
I imagine that you want to access the site as
http://example.com/subdir/.Prefix the
/location and all exact location with the subdir.See here for the
drupal.conffile of a Drupal site on a subdirectorysubdir:https://gist.github.com/perusio/5922588
Hi, how does one do this for
Hi, how does one do this for say, phpmyadmin? I keep getting redirected.
Sites in subdirectory not working
Hi Perusio
I am using your excellent Nginx configuration for Drupal and its working great for me. However I need to launch a demo site which would resolve at demo.mydomain.example and then it would have a number of independent drupal 7 installations like
demo.mydomain.example/subsite1
demo.mydomain.example/subsite2
I tried using the suggested https://gist.github.com/perusio/5922588 but that does not work as the sites always resolve to demo.mydomain.example and demo.mydomain.example/subsite1 will open but it just gives me a "not found" error from demo.mydomain.example
I also found your response here https://groups.drupal.org/node/39944#comment-674833 but I am new to Nginx and I could certainly use an example that would work for my setup if you'd be so kind to give me one.
Thanks in advance :) And thanks so much for your nginx configuration for drupal on github, I was near ready to give up on Nginx when I found it and, it was soo much help.
Drupal web developer and Search Engine Optimisation consultant at Webmar Design & Development Brisbane, Australia
Google+
Thanks very much for the
Thanks very much for the example! I really appreciate it.