Ok, here's a question for you.

I went and did this to my current development site.

I have the following configuration.

Redhat 8.0
  Apache/2.0.40 (stock redhat install)
  PHP 4.2.2 (stock redhat install)

What I get when I try and run this is an Object Not Found.

Same as the ERROR 404 page not found.

The URL looks like this

/index.php/var1/val1/var2/val2

I try this on a different development server running Apache 1.3.28, and it
runs fine.

I couldn't even start to find the differences, since they are
completely different version.

Any ideas would be helpful.

Thanks

Jim Lucas

----- Original Message ----- 
From: "Mike Migurski" <[EMAIL PROTECTED]>
To: "Veniamin Goldin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, October 08, 2003 12:23 PM
Subject: Re[2]: [PHP] dynamic -> static


> >As I wrote already this issue is mainly because of search engines
> >incompatibility with dynamic content sites (to be more exact - with urls
> >containing get parameters, in my case ex. index.shtml?lang=en&menu_id=23)
> >
> >Which of your described solution would you suggest for my situation ?
> >
> >Turck MMCache already installed. Now I need to do something with my urls.
> >There are also problem emulating search engine friendly urls using "/"
> >instead of "&" because I use SSI, so I can not use post method in forms,
> >while using GET it will be a bit difficult to handle all params
> >correctly, or I'm wrong ?
>
> If all you need to do is change your URLs, the easiest method by far is to
> change them all to something like 'index.php/lang/en/menu_id/23' -- you'd
> need to add a parser function at the beginning, though.
>
> Try isolating the '/lang/en...' by comparing $_SERVER['SCRIPT_NAME']
> against $_SERVER['REQUEST_URI'] and then exploding the result and setting
> your request variables accordingly.
>
> I have never tried this with SSI, so I have no idea what sort of problems
> you may run into - you may be better off going with PHP includes all the
> way through. I have also recently read (on a different list)  that Google
> in fact does crawl URLs with GET parameters, but I have not verified this
> and tend to avoid it as a matter of superstition.
>
> ---------------------------------------------------------------------
> michal migurski- contact info and pgp key:
> sf/ca            http://mike.teczno.com/contact.html
>
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to