Lounge Network - Knowledge Base

  View Printer Friendly Version Search
KNOWLEDGE BASE HOME » 15. INFORMATION: SCRIPT AND PROGRAMMING QUESTIONS Viewing Answer
How do I enable mod_rewrite?
On most of our linux servers mod_rewrite is available. You will have to use the .htaccess file to enable it and your code should look something like this:

RewriteEngine on
RewriteRule ^old.html$ new.html

More info can be found at the offical php developers website.

To check if your server has mod-rewrite installed, you can upload your own phpinfo.php file that shows you what is installed on the server. You can do by following the instructions here


Important note for clients who have switched from a phpsuexec environment to a mod_php environment:

Please note that under a phpsuexec environment, mod_rewrite works in a similar way to how it did on the mod_php environment. However if you are having trouble with mod_rewrites in the phpsuexec environment after changing from a mod_php environment, you will need to ensure that the rewrite is compatible with phpsuexec as the mod_rewrite code is sometimes different when dealing with mod_rewrite. If you are having trouble , please check the documentation for your scripts to make sure it is correctly configured to work with phpsuexec.

KNOWLEDGE BASE HOME » 15. INFORMATION: SCRIPT AND PROGRAMMING QUESTIONS Viewing Answer




Knowledgebase Manager

© Copyright Lounge Network 2001-2017