Gossamer Forum
Home : General : Internet Technologies :

mod rewrite question.

Quote Reply
mod rewrite question.
im currently trying to get mod rewrite to work on my scripts, unfortunity it has many values is it possible to have if statments in the rewrite code?

my current code.

RewriteEngine on
RewriteRule ^c-(.*)l-(.*)a-(.*)o-(.*)\.html$ view.php?c=$1&load=$2&article=$3&otemp=$4

i need it to actualy check value $2 then redirect based on it's value.

is it possible to load a perl script or php script from with in a .htaccess file to do it? if so how.