help please

New to mod_rewrite? This is a good place to start.

help please

Postby larryjam » Sat Apr 09, 2005 9:07 pm

I am trying to set up a mod rewrite using a odp script

I have urls in the that look like this


http://www.myweb.com/index.php/Computers/Software/

I would like to remove the index.php file extension and have a url that looks like this

http://www.myweb.com/Computers/Software/

I have been told to rename index.php to 'directory' and add this to my htaccess file

<Files "directory">
ForceType application/x-httpd-php
</Files>
DirectoryIndex directory

this is supposed to produce a url such as

http://www.myweb.com/directory/Computers/Software/

but it does not work!

Can anyone please help me accomplish this?
larryjam
 
Posts: 1
Joined: Fri Apr 08, 2005 7:09 pm

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 10 guests

cron