Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using // in a RewriteRule

Status
Not open for further replies.

pr0fess0r

Programmer
Jul 10, 2001
25
NZ
Hi all
I followed the tutorial here: to create a rewrite rule so that
could be written
for search engine friendliness, but it's not working. I have a Windows server running Apache, with the following .htaccess file in
RewriteEngine on
RewriteRule (.*)//(.*) $1.php?parameters=$2

But using the URL


I get a 404 error.

If I use

RewriteEngine On
RewriteRule index/(.*) index.php?parameters=$1

Then


works fine. Can anyone help out a poor n00b?

many thanks

Lucas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top