Hello,
I just activated GR from my modules list (I just went there again to check it is activated, and it is) but my node/nid URLs are working fine.
I know there's no configuration page, it just works, but what can I test to find out my problem?
I'm using pathauto.
See that:
ferran@pc-ferran:~$ curl -I http://localhost/drupal57/node/1948
HTTP/1.1 200 OK
Date: Tue, 04 Nov 2008 13:05:10 GMT
Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch
X-Powered-By: PHP/5.2.4-2ubuntu5.3
Set-Cookie: SESSe425c1fc93966041ec8950348342565d=ac7ebac2d1a544ccdff1f4efad8a610e; expires=Thu, 27 Nov 2008 16:38:30 GMT; path=/
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Tue, 04 Nov 2008 13:05:10 GMT
Cache-Control: store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Content-Type: text/html; charset=utf-8
Any ideas? Thanks!
Comments
Comment #1
xamountI was just experiencing the same problem actually. Seems as though GlobalRediect does not work if you site is on a local install (like http://localhost/...)
I uploaded my site to an online server and it works. The exact same site on a local install does not work.
Comment #2
nicholasthompsonThat's odd.... Admittedly, I don't run a localhost dev... I have a VMWare Fedora Core 9 install running which more accurately mirrors my live environment.
In the first case, the site is running in a folder. This is likely to be a problem as there is some code which checked where index.php is being called from; there were issues in the past with modules such as the ad module where global redirect thought that ads were actually base level URL's (very confusing!).
I'll take a look into this...
Comment #3
ferrangil commentedI'll try it on the server, which is not running in a folder and post back! (it will be in a few days, not right now).
If the issue is that GR doesn't work in that cases, I think there are 2 options: fix it, or just announce it on the module page.
Thanks!
Comment #4
ferrangil commentedIt works on the live server that runs out of the folder!!
Great!
Comment #5
HansBKK commentedI am using GR on my development PC running locally using XAMPP and it's working just fine.
Comment #6
nicholasthompsonHansBKK: Are you running it inside a folder or in root - eg...
A) http://localhost/drupal/
B) http://localhost/
Comment #7
HansBKK commentedI have dozens of sites, and they're all running on their own domain name via my hosts file and Apache's vhosts.
Side questions - why would you point your site root to a subfolder?
Comment #8
nicholasthompsonI personally dont - I do the same thing you do... Setup domains (in /etc/hosts) and use a VM running Fedora Core 9 along with something resembling VHosts in Lighttpd...
BUT
Some people dont know how to do that... or they have a main site on their domain and want a Drupal blog in a folder (for example... for some reason). In this situation there appears to be an issue with GR not knowing the different between the base path and the path of a module which is doing a bootstrap (eg an ad module providing a lightweight "callback").
Comment #9
nicholasthompsonAn odd issue which I cannot replicate and has not been mentioned since... Possibly fixed? Even if not - sounds like a minor issue associated with localhost hosting...