Closed (fixed)
Project:
Search 404
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2006 at 14:04 UTC
Updated:
6 May 2006 at 16:38 UTC
Jump to comment: Most recent file
When a site is hosted on a sub directory (like http://www.mysite.com/drupal_folder), the subdirectory is included to perform a 404 search.
For example, when I try to access to http://www.mysite.com/drupal_folder/does/not/exist , 404search performs a search for "drupal folder does not exist".
Would it be possible to change this?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | search404.module.patch | 1.86 KB | tenrapid |
Comments
Comment #1
David Stosik commentedYup!
Anyone here?
Comment #2
larssg commentedYes, I am here. However, unless someone contributes a patch, you'll have to be patient - I don't have the time to fix it right now.
Comment #3
David Stosik commentedOkay, I just wanted an answer, to be sure...
Comment #4
tenrapid commentedHere is a patch. $_GET['q'] is used for extracting the keys.
This patch solves also the infinite loop issue: http://drupal.org/node/58147
Comment #5
chrisd commentedworks good, so far...
Thanks a lot tenrapid !
Comment #6
David Stosik commentedThis patch doesn't work for me...
Before applying the patch, search 404 returns a search for "drupal_folder my terms", and after, 404search doesn't work at all, I just get a "Page not found - The page you requested was not found.".
Which version of Drupal should I use it with?
Comment #7
tenrapid commentedThe patch will not work with Drupal older than 4.7 RC2.
Comment #8
David Stosik commentedToo bad I'm still on Drupal 4.7 beta 6 because I have to present it tomorrow, and I can't migrate it fast... :(
Tnaks for the patch, I will you use it as soon as I get to last RC! ;)
Comment #9
larssg commentedPatch committed. Thank you all for reporting, researching and fixing this and the infinite loop problem.