httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: [users@httpd] Mod_rewrite help
Date Wed, 19 Jan 2005 19:40:48 GMT


You said you want it to convert to /view, not /imageview5/view


You will need to include imageview5 in the regex.


RewriteRule ^/imageview5/view/(.*)/(.*)$$1$file=$2




From: Jorge Schrauwen [] 
Sent: Wednesday, January 19, 2005 2:37 PM
Subject: RE: [users@httpd] Mod_rewrite help


No, still doesnt work, i still get a 404.


I tried from .htaccess and httpd.conf, same result


--- error.log ---

[Wed Jan 19 20:34:10 2005] [error] [client] File does not
exist: S:/wwwroot/imageview5/view


thanx for the help though





From: [] 
Sent: Wednesday, January 19, 2005 20:30
Subject: RE: [users@httpd] Mod_rewrite help

That should do it, but. I don't know if absolutely necessary, however I
put the entire URL in the Rewrite. -


RewriteRule ^/view/(.*)/(.*)$$1$file=$2


Let me know if it helps-





From: Jorge Schrauwen [] 
Sent: Wednesday, January 19, 2005 9:35 AM
Subject: [users@httpd] Mod_rewrite help


hi all,

I'm new to mod_rewrite and regex for that mather...

and i'm stuk. here is what i'm trying to do:
i want to rewrite





this is what i have sofar:


RewriteEngine on
RewriteRule ^/view/(.*)/(.*) /index.php?album=$1&file=$2



thanx in advance


Jorge Schrauwen

View raw message