What's wrong ?

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

What's wrong ?

Postby BlackEmail » Sun Feb 19, 2006 4:59 am

I've a script:

RewriteEngine on
RewriteRule \.(jpe?g|gif|png)$ /images.php?p=%{REQUEST_URI} [L]
RewriteRule ^.*$ /index.php?p=%{REQUEST_URI} [L]

The idea is that all the requests for images are proceeded through images.php with the request_uri as para... All other request should be handled by index.php...

When I try this script he gives me some stupid 500 error... Can someone explain to me what is wrong?

Thx in advance
Posts: 1
Joined: Sun Feb 19, 2006 4:55 am

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 1 guest