It's generally useful to check this stuff by turning on debugging for
rewrite rules.
RewriteLog "/path/to/file.log"
RewriteLogLevel 3
On Mon, Jun 2, 2008 at 3:02 PM, Chris Chabot <[EMAIL PROTECTED]> wrote:
> First of all make sure if it actually reaches the index.php file, if not
> then the mod_rewrite part is your problem.
>
> You can check this by putting a temporary
> die("in index.php");
> at the top of the index.php file just after the <?php bit.
>
> The second thing to check is the servlet => url mapping part, the easiest
> way to find out is probably to put some echo's in the index.php file,
> something like:
>
> // Try to match the request url to our servlet mapping
> $servlet = false;
> $uri = $_SERVER["REQUEST_URI"];
> foreach ($servletMap as $url => $class) {
> echo "matching ".substr($uri, 0, strlen($url))." against $url<br
> />\n";
> if (substr($uri, 0, strlen($url)) == $url) {
> $servlet = $class;
> break;
> }
> }
>
> and see what the output is ... chances are there's some obvious difference
> that causes a string mismatch ... fix that and your up and running :)
>
> G'luck and let me know if that helped!
>
> -- Chris
>
>
>
> On Jun 2, 2008, at 9:36 PM, xin zhang wrote:
>
> Hi
>>
>> I followed the instruction here
>> http://incubator.apache.org/shindig/#preReqs and did the full checkout. I
>> didn't create a virtual host and modified web_prefix to '/shindig/php' and
>> htaccess to RewriteRule (/shindig/php/*) index.php [L]
>>
>> But when I point my browser to
>> http://your.host/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml,
>> I got Page Not Found error.
>>
>> What am I missing here?
>>
>> Thanks
>>
>>
>>
>>
>