Webmastersite.net
Register Log In

Mod rewrite

Title Mod rewrite
Description cannot get it working
Message Text I am trying to enable mod rewrite, I have enabled it in the admin controll panel under Settings/Search and seo, I renamed the htaccess.txt file to .htaccess have edited the .htaccess, by uncommenting the RewriteBase / line I receive an error 500 page, I don't know if I have to chmod the permissions on the .htaccess or if I have to instert anything into the line I uncomment. The instructions state: If not wrking, uncomment and correctly fill the line below: I uncommented by I don't have any idea what to put in there! I have copied the file here. Please help >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Options +FollowSymlinks RewriteEngine on # If not working, uncomment and correctly fill the line below: RewriteBase / RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+[^/])$ $1/ [R] RewriteRule ^admin$ admin/index.php RewriteRule ^admin/$ admin/index.php RewriteRule ^links/([a-z]+)/([0-9]+)/?$ link.php?action=$1&id=$2 RewriteRule ^links/([0-9]+)/?$ link.php?id=$1 RewriteRule ^thread/([0-9]+)/?$ comments.php?id=$1 RewriteRule ^thread/([0-9]+)/([0-9]+)/?$ comments.php?id=$1&page=$2 RewriteRule ^([0-9]+)/?$ index.php?action=displaycat&catid=$1 RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?action=displaycat&catid=$1&page=$2 RewriteRule ^([-_/\+A-Za-z0-9]+)$ index.php?action=displaycat&catname=$1 RewriteRule ^links/([-_/\+A-Za-z0-9]+)-([0-9]+).html$ link.php?action=detail&id=$2 RewriteRule ^/([-_/\+A-Za-z0-9]+)-([0-9]+).html$ link.php?action=detail&id=$2
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership larryjam
Views 463 views. Averaging 0 views per day.
Similar Topics
Submission Date Dec 24, 2006 - 4:27 PM