Forum Moderators: phranque

Message Too Old, No Replies

mask url using mod_rewrite.

         

darkane

4:16 am on Mar 18, 2004 (gmt 0)

10+ Year Member



hey all, I have mod_rewrite working.
what I want to achieve.
if someone comes to the site [website...] the file, which is dynamic base3.html?display=55 is drawn under Accounting.html and the filename in the browser isnt changed from Accounting.html to base3.html?display=55
Is it possible to do this using mod_rewrite?
my .htaccess looks like..
RewriteEngine On
RewriteBase/
#RewriteOptionsinherit
#RewriteLog"/var/www/logs/rewrite_log"
#RewriteLogLevel9
# now the rewriting rules
RewriteRule^Accounting\.html$base3.html?display=55[R,L]

am I missing something?
any help would be greatly appreciated, thanks in advance.

jdMorgan

5:13 am on Mar 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you putting this code in httpd.conf, or in .htaccess?

There are several required spaces missing from your posted code. Is this an artifact of posting here, or are those spaces really missing?

Jim