search engines safe URL s

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
istankov
Forum Newbie
Posts: 2
Joined: Sun Feb 29, 2004 3:33 pm

search engines safe URL s

Post by istankov »

I have problem with my Hosting provider.

They don't alow me to change .htaccess file with Mode rewrite. Please do anybody have idea how to escape ? and = in urls

Thanks
jollyjumper
Forum Contributor
Posts: 107
Joined: Sat Jan 25, 2003 11:03 am

Post by jollyjumper »

Hi,

You could try if your provider does support auto lookback. This means that if you call a none existent filename it looks back in the tree to find one that does exist.

To test this, create a file with this code:

Code: Select all

<?php
phpinfo();
?>
and call this file info.php

Place it in the root of your hosting space.
Open this file in your browser(like http://www.yoururl.com/info.php)
It should show you a long list with settings of php and apache.
After this, surf to this http://www.yoururl.com/info.php/my/test/data

(Of course you'll need to replace the yoururl.com by your domainname)

If auto lookback is enabled, you should see the same list again. If it's not, you'll get a 404 error.
If you'll get the 404 error, I'm affraid I don't know how this would be possible, but maybe someone else does.

Good luck.

Greetz Jolly.
Post Reply