Jump to content
The Uniform Server Community

What is needed to use MOD-REWRITE


Recommended Posts

HI everyone

I've got a site built from a cms which uses pageID's etc, you have the facility to use mod-rewrite to change the url's to html extensions. When I turn it on I get page not found on this server or you don't have permission.

when I question this with the people who built the cms apparently you are supposed to just turn it on and away you go.


I was wondering if any could explain the correct way to use this facility.


thanks for any help


Link to comment
Share on other sites



go int0 your server folder\drive\usr\local\apache2\conf


and open the httpd.conf file in a TEXT editor


scroll down a little to the area where you see the list of modules to load


make sure that the line loading mod_rewrite is NOT commented out


LoadModule rewrite_module modules/mod_rewrite.so




#LoadModule rewrite_module modules/mod_rewrite.so


then go to udrive\www\ and open the .htaccess file in a TEXT editor


add the following lines and save


Options +FollowSymLinks
RewriteEngine On


your mod_rewrite should now work


hth ~megan

Link to comment
Share on other sites

Join the conversation

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

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...