Jump to content

Recommended Posts

Posted

I use phpbb2 as the forum for my site. I downloaded a scriptwiz.com script to make an html archive of the forum. Having never used mod_rewrite on Apache before, I'm not sure if the code is correct. They wrote the original script for unix. Here is what they have in the .htaccess file(I put it in the www/forum_archive/ dir).

RewriteEngine On

RewriteRule ^.+\.html$ index.php [L]

RewriteRule ^.+\.htm*$ index.php [L]

RewriteRule ^member-.+\.html*$ index.php [L]

RewriteRule ^members.+$ index.php [L]

RewriteRule ^(.+)/$ index.php [L]

 

The script doesn't work and I think it is a mod_rewrite issue because the configuration params are fairly straightforward(there are only 4 of them).

 

If anyone has some simple mod_rewrite examples I'd love to look at them.

 

Thanks for your help.

Posted

I am absolutely awful with mod rewrites, however because this is a .htaccess issue it seems more appropriate in backend services, so I'm going to move it there and try to get ya some knowledgable assistance. =)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...