I'm getting a 404 error when trying to use Apache Solr Instant. Any typing results in the error. I think it may have to do with the fact I am not hosting SOLR locally but rather, am using the Acquia SOLR search service (i.e. their servers not mine. So maybe it is a path thing but so far I haven't been able to isolate the problem and would appreciate any thoughts/input.

Thanks...

Comments

slip’s picture

I don't think Acquia shouldn't be an issue. The Javascript only tries to access /apachesolr_instant which is a path defined by apachesolr_instant. What's the complete error message?

If you visit /apachesolr_instant, do you get a 404?

Is this a drupal installation in a subdirectory of of your DocumentRoot? ie example.com/mydrupalsite/ ? I'm pretty sure I tested this before, but it still might be good to know.

butler’s picture

Slip, thanks so much for getting back to me. I do get a 404 from /apachesolr_instant.

I am developing this site under a subdomain of a Mediatemple Dedicated Virtual account. I mention the hosting provider because the way they have aliasing set up for subdomains (subdomains have a directory in the account root, each subdomain has it's own dir, http root directory per subdomain in that dir) might have an effect and I may be able to change that as this is sort of semi-dedicated hosting. Your module currently lives in:

mydomain.com/subdomains/dev/httpdocs/sites/all/modules/apachesolr_instant/apachesolr_instant.module

... this directory scheme is a little different from what I am used to, but subdomains seem to function normally in all other cases - root relative urls mostly (except in the case of Apache Solr Facetbuilder facets, another story) work as etc.

Any ideas? Should I change some path in the module? Try to fiddle the aliasing scheme for the subdomain? Or...?

Thanks again...