Rewrite puzzlement.

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

Postby shebhauser » Tue Dec 04, 2001 5:43 am

I'm trying to move an old site to a new server. Everything but rewrite seems to be working (PHP, MySQL).

I'm using a collection of scripts that currently work fine at http://www.sharesite.org, but do not seem to work on http://funsters.dyndns.org:8080

I'm trying to test the first item which in theory should map crawler.html to crawler.php.

Code: Select all
RewriteEngine on
#RewriteLog rewrite.log
#RewriteLogLevel 9
Options +FollowSymlinks

RewriteBase /

# This rule gives the crawler page a nicer name
RewriteRule crawler.html crawler.php

# This rule conceals ?s in content URLs
RewriteRule     content_(.*).html$ content.php?content_id=

# This rule creates the special amex home page.
RewriteRule amex content.php?content_id=50
shebhauser
 
Posts: 1
Joined: Mon Dec 03, 2001 4:00 pm
Location: London

Postby Brett » Fri Dec 07, 2001 7:20 pm

Hi Shebhauser,

Are you sure that the new host supports mod_rewrite? Many do not.
Brett
 
Posts: 82
Joined: Tue Jul 10, 2001 4:00 pm
Location: yohost.com


Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 39 guests

cron