Htaccess mod_rewrite problem?

It sounds like the remote server has AcceptPathInfo turned off. That setting is responsible for the effect you are using Try a manual request to mydomain.com/index.php/this/is/a/page if this/is/a/page vanishes, then that option is definitely turned off, and you can't use this method on the remote server (unless you can change its configuration) In that case, I would change the rule to RewriteRule ^(.*)$ index. Php?

Path=$1 L,QSA and change the framework to listen for $_GET"path" instead of $_SERVER"PATH_INFO".

It sounds like the remote server has AcceptPathInfo turned off. That setting is responsible for the effect you are using. Try a manual request to mydomain.com/index.php/this/is/a/page if this/is/a/page vanishes, then that option is definitely turned off, and you can't use this method on the remote server (unless you can change its configuration).

In that case, I would change the rule to RewriteRule ^(.*)$ index. Php? Path=$1 L,QSA and change the framework to listen for $_GET"path" instead of $_SERVER"PATH_INFO".

Mydomain. Com/index. Php/this/is/a/page – Pekka Nov 2 '10 at 23:32 Doesn't work too ... – Luciano Mammino Nov 3 '10 at 17:30 I've just tried to use the R flag and I added a slash (/) before the index.

Php and the redirect seems to work... but it still doesn't seem to work without the hard redirect... – Luciano Mammino Nov 3 '10 at 20:18 I worked for few hours with an ANHosting technician and we were able to make it work using the $_GET'q' alternative but sadly we still couldn't be able to use $_REQUEST'PATH_INFO' ... – Luciano Mammino Nov 7 '10 at 14:29.

Did you enable the mod-rewrite in the Apache configuration files. Sudo nano /etc/apache2/sites-available/default sudo nano /etc/apache2/sites-enabled/000-default Here's a site that shows you a few ways. I have done my mod-rewrites by modifying the above files but I think there are other ways.

drupal.org/node/134439.

Unfortunately I have not the full access on the server (i'm on a shared hosting and I can just use Cpanel...) I talked with anhosting and they assured me that mod_rewrite is enabled... they also installed a "REALLY" simple demo on my webspace to show me that's really enabled... when I asked about this problem they said me that this kind of request are not of their competence... – Luciano Mammino Nov 2 '10 at 23:27.

Htaccess in website root folder. For any other location it requires some small modifications. Place rule in appropriate place -- order of rules matters.

After Apache sees L flag it stops rewriting further (if rule matches, of course) and goes to next iteration starting checking all rules from start -- this is how it works and many people seems to be unaware of this fact.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions