change no or more fake dir

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

change no or more fake dir

Postby Oidipus » Tue Apr 13, 2004 2:08 pm

Hey,

I have wrote this script:

Code: Select all
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-F
RewriteRule ^([^/]+)/([^/]*)/([^/]*)/([^/]*)/?$ /?katid=$1&id=$2&id3=$3&id4=$4


I need to make pages like this

mydomain.com/
mydomain.com/games/
mydomain.com/games/forum/
mydomain.com/games/forum/general/
mydomain.com/games/forum/general/1/

the only one that works is:
mydomain.com/
mydomain.com/games/forum/general/
mydomain.com/games/forum/general/1/

Why? With the others the server just say:

Code: Select all
Not Found
The requested URL /games/ was not found on this server.

Apache/1.3.28 Server at localhost Port 80


How can I get this working?
Oidipus
 

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 56 guests

cron